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 2143
Q:

Pune was once known as the capital of

A) Scindias B) Holkars
C) Bhosales D) Peshwas
 
Answer & Explanation Answer: D) Peshwas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 2143
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

 

Be in the air

 

A) Harmful gaseous effluents from a factory. B) To fly like a bird or a plane.
C) When an emotion or idea is on everyone's mind. D) To be likely to happen.
 
Answer & Explanation Answer: C) When an emotion or idea is on everyone's mind.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2143
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.

 

The fact that one has

 

A-to be fiercely independent

B-get accustomed to

C-in this country was hard to

 

A) ACB B)  ABC
C) CBA D) CAB
 
Answer & Explanation Answer: A) ACB

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GRE , TOEFL

0 2143
Q:

In the following question, four words are given out of which one word is incorrectly spelt. Select the incorrectly spelt word.

A) Colonel B) Hypocracy
C) Offence D) Strength
 
Answer & Explanation Answer: B) Hypocracy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2143
Q:

In the given question, a part of the sentence is printed in bold. Below the sentence three alternatives to the bold part are given which may help improve the
sentence. Choose the option that reflects the correct use of the phrase in the context of the sentence. In case the given sentence is correct, your answer is (E) i.e. No correction required.
For the people living below the poverty line, it is important to find jobs that had provided enough money to attain a minimum standard of living.
i. will have provided
ii. has provided
iii. provide

A) A. Only i B) B. Only ii
C) C. Only iii D) D. i and ii
 
Answer & Explanation Answer: C) C. Only iii

Explanation:

Ans. C.
The statement is in general sense and doesn’t talk in past or future context specifically. Therefore one must use the present tense of the verb. Thus, 'provide' is the correct answer.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL

0 2143
Q:

In the following question, a word has been written in four different ways out of which only one is correctly spelt. Select the correctly spelt word.

A) Continuous B) Continous
C) Contenuous D) Countionuous
 
Answer & Explanation Answer: A) Continuous

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2142
Q:

Lingaraja temple is situated in which of the following Indian state?

A) Odisha B) Uttar Pradesh
C) Tamilnadu D) Karnataka
 
Answer & Explanation Answer: A) Odisha

Explanation:

Lingaraja temple is  a lord shiva temple situated in Bhubaneshwar, Odisha. It is one of the oldest temples in India.

Report Error

View Answer Report Error Discuss

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

4 2142