Questions

Q:

What will be output of following c code?

#include <stdio.h>
int main()

{
    int i;
    for(i=10;i<=15;i++){
         while(i){
             do{
                 printf("%d ",1);
                 if(i>1)
                      continue;
             }while(0);
             break;
         }
    }
    return 0;
}

Answer

Output: 1 1 1 1 1 1
For loop will execute six times.


 


 


 


Note: continue keyword in do-while loop bring the program its while condition (while(0)) which is always false.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2047
Q:

What goes in dry and comes out wet?

Answer

A Bath towel or a tea bag are suitable answers.

Report Error

View answer Workspace Report Error Discuss

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

1 2046
Q:

In the following passage some of the words have been left out. Read the passage carefully and select the correct answer for the given blank out of the four alternatives.

The modes of action are _____ in science and religion. Science relies on experiment, whereas religion is based on experience. Any religious _____ whether it is Christ’s or Ramakrishna’s is personal and _____ . Science, on the other hand is marked by objectivity. Theory has to be corroborated by _____ proof providing material comforts. The frontiers of science do not end in knowledge but are _____ to the formation of appliances for actual use.

it is Christ's or Ramakrishna's is personal and _____ .

A) significant B) irrelevant
C) subjective D) objective
 
Answer & Explanation Answer: C) subjective

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2046
Q:

Government imposes taxes to

A) Check accumulation of wealth among the rich B) Run the machinery of the state
C) Uplift weaker sections D) All of the above
 
Answer & Explanation Answer: B) Run the machinery of the state

Explanation:

Government imposes taxes to run the machinery of the state. Taxes serve as the main source of income for the government revenue.

Report Error

View Answer Report Error Discuss

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

1 2046
Q:

In the following question, a sentence has been given in Active/Passive voice. Out of the four alternatives suggested, select the one which best
expresses the same sentence in Passive/Active voice.
Meenu will return the book.

A) Returning of the book will be done by Meenu. B) The book will be returned by Meenu.
C) The book would have been returned by Meenu. D) The book Meenu will be returning.
 
Answer & Explanation Answer: B) The book will be returned by Meenu.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 2046
Q:

The sentences given with blanks are to be filled with an appropriate word(s). Four alternatives are suggested for each question. For each question, choose the correct alternative and click the button corresponding to it.

We acted on a __________ impulse.

A) momentary B) momentous
C) memorable D) meritorious
 
Answer & Explanation Answer: A) momentary

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2046
Q:

Which pattern will the given transparent sheet resemble when it is folded at the dotted line?

A) C B) B
C) A D) D
 
Answer & Explanation Answer: A) C

Explanation:
Report Error

View Answer Report Error Discuss

0 2045
Q:

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

A) stareotype B) stereotype
C) iliterrate D) stareotype
 
Answer & Explanation Answer: B) stereotype

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2045