Questions

Q:

Why we use do-while loop in c?

Answer

It is also called as post tested loop. It is used when it is necessary to execute the loop at least one time. Syntax:

do {
Loop body
} while (Expression);

Example:

int main(){
    int num,i=0;  
    do{
         printf("To enter press 1\n");
         printf("To exit press  2");
         scanf("%d",&num);
         ++i;
         switch(num){
             case 1:printf("You are welcome\n");break;
             default : exit(0);
         }
    }
    while(i<=10);
    return 0;
}

Output: 3 3 4 4

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2185
Q:

Select the word with the correct spelling.

A) rosetes B) reaffirm
C) estimat D) lunchon
 
Answer & Explanation Answer: B) reaffirm

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2185
Q:

In the given question, an idiom/phrase highlighted in bold is given in a sentence. Choose the most suitable meaning of the idiom/phrase.


You must not waste your leisure time doing nothing, rather you should engage yourself in such activities that will blow off steam and recharge you for the future endeavours.

A) Release surplus energy B) Take steam bath
C) To make someone fidgety D) To exercise the brain
 
Answer & Explanation Answer: A) Release surplus energy

Explanation:

The idiom “blow off steam” means to express one’s anger, usually noisily and harmlessly, thereby relieving one’s tension. The above sentence states that one should not waste one’s time and utilise it in releasing negative energies to get charged up. Only option 1 goes with this meaning, hence option 1 is correct.

Report Error

View Answer Report Error Discuss

Filed Under: English

0 2185
Q:

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

A) Familiar B) Grammer
C) Narrator D) Operator
 
Answer & Explanation Answer: B) Grammer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

"Phew," said I, grabbing

X-cheerfully round my head
Y-at the halo of flies
Z-which buzzed

A) YZX B) YXZ
C) XZY D) XYZ
 
Answer & Explanation Answer: A) YZX

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2185
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the "No error" option.

It is not possible for me (A) / to give you the accurate date (B) / of my departure yet. (C) / No Error (D)

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2184
Q:

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

A) Anoyance B) Annoyanse
C) Anoyanse D) Annoyance
 
Answer & Explanation Answer: D) Annoyance

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2184
Q:

Contaminated rags are recommended for disposal in landfills.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:
Report Error

View Answer Workspace Report Error Discuss

Subject: Physics
Exam Prep: Bank Exams

2 2184