Questions

Q:

C program to find the factorial of a given number

Answer

 #include<stdio.h>
int main(){
  int i=1,f=1,num;

  printf("Enter a number: ");
  scanf("%d",&num);

  while(i<=num){
      f=f*i;
      i++;
  }

  printf("Factorial of %d is: %d",num,f);
  return 0;
}

Sample output:
Enter a number: 5
Factorial of 5 is: 120

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2061
Q:

When should you stop at green and go at red?

Answer

When you are eating a Watermelon, we eat what is red and stop at green layer.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: TOEFL , GRE , GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

2 2061
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.

To place or deal with close together for contrasting effect.

 

A) to scrutiny B) to juxtapose
C) to correlate D) to contrast
 
Answer & Explanation Answer: B) to juxtapose

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2061
Q:

Which of the following is known as thinnest layer of the earth?

A) Core B) Mantle
C) Crust D) None of the above
 
Answer & Explanation Answer: C) Crust

Explanation:

The thinnest layer is crust. It is about 100km. Where as mantle ranges upto 2900 km and the inner most core ranges upto 6300km.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2061
Q:

Rate of change of displacement is known as ............

A) Acceleration B) Velocity
C) Speed D) Distance
 
Answer & Explanation Answer: B) Velocity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT

4 2060
Q:

In union terms, a direct strike occurs

A) when people refuse to patronize companies that handle products of struck companies B) when an organized body of workers withholds its labor to force the employer to comply with its demands
C) when union members and their supporters refuse to buy products from a company being struck D) when workers who have no particular grievance of their own and who may or may not have the same employer decide to strike in support of others
 
Answer & Explanation Answer: B) when an organized body of workers withholds its labor to force the employer to comply with its demands

Explanation:

A direct strike occurs when an organized body of workers withholds its labor to force the employer to comply with its demands.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2060
Q:

Match List-I with List-II and select the correct answer using the code given below the Lists :

A) ABCD - 4 3 2 1 B) ABCD - 4 2 3 1
C) ABCD - 1 2 3 4 D) ABCD - 1 3 2 4
 
Answer & Explanation Answer: A) ABCD - 4 3 2 1

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 2060
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

P: For that we need people who possess not only high skills but high values as well.
Q: So the need of the hour is not only skill-based education but also value-inspired and value-based education.
R: When we talk of investing in education, a question arises as to what kind of education needs to be given to the youngster.
S: Our aim is to evolve not only an affluent society, but an egalitarian, just, humane and compassionate society.

A) SPRQ B) PRQS
C) RQSP D) RSPQ
 
Answer & Explanation Answer: D) RSPQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2060