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

If x + (1/x) = 2, then what is the value of x64 + x121?

A) 0 B) 1
C) 2 D) -2
 
Answer & Explanation Answer: A) 0

Explanation:
Report Error

View Answer Report Error Discuss

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

 

Do not disturb me.

A) Let me be disturbed not. B) Let me not disturbed.
C) Let me not be disturbed. D) Let I not be disturbed.
 
Answer & Explanation Answer: C) Let me not be disturbed.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

The doctor has been ____ to attend to an urgent case

A) called B) called in
C) called by D) call over
 
Answer & Explanation Answer: A) called

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2096
Q:

In the following question, out of the given four alternatives, select the one which best expresses the meaning of the given word.

 

Debonair

 

A) Elegant B) Awkward
C) Clumsy D) Difficult
 
Answer & Explanation Answer: A) Elegant

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2096
Q:

In the following question, out of the given four alternatives, select the one which best expresses the meaning of the given word.

Pithy

 

A) Verbose B) Brief
C) Lengthy D) Unabridged
 
Answer & Explanation Answer: B) Brief

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2096
Q:

Glaucoma is usually caused by

A) High pressure on the optic nerve B) Loss of hearing
C) Loss of Bone density D) None of the above
 
Answer & Explanation Answer: A) High pressure on the optic nerve

Explanation:

Glaucoma is usually caused by high pressure on the optic nerve which leads the loss of eye sight.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2096
Q:

Part of the plant where photosynthesis generally occurs

A) roots B) leaves
C) branches D) flowers
 
Answer & Explanation Answer: B) leaves

Explanation:

In a plant, photosynthesis generally occurs in the leaves part as leaves have chlorophyll which is used for making food using sunlight.

Report Error

View Answer Report Error Discuss

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

3 2096