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

Maryland was established as a refuge for which group?

A) Orthodox B) Catholics
C) Anabapists D) None of the above
 
Answer & Explanation Answer: B) Catholics

Explanation:

Maryland was established by Calvert brothers as a refuge for Roman Catholics prosecuted in England.

Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

5 2026
Q:

Dakshayani, which is in news recently, is a/an

A) Plant B) Animal
C) River D) Train
 
Answer & Explanation Answer: B) Animal

Explanation:

Dakshayani, which is in news recently, is an Animal (She - elephant).

Report Error

View Answer Report Error Discuss

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

1 2025
Q:

An ideal gas cannot be

A) liquified B) solidified
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) liquified

Explanation:

An ideal gas cannot be liquified because forces between the molecules are negligible.

Report Error

View Answer Report Error Discuss

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

2 2025
Q:

The odometer guage indicates

A) the distance travelled by a vehicle B) the depth of the ocean
C) pitch length D) frequency of the wave
 
Answer & Explanation Answer: A) the distance travelled by a vehicle

Explanation:

The odometer or the odograph is an instrument used to indicate the distance travelled by the vehicle.

Report Error

View Answer Report Error Discuss

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

2 2025
Q:

The Regent (released Voltaire) P (having discovered that he had imprisoned) Q (Ran innocent man and gave him a pension) S

The correct sequence should be

A) P Q R S B) P R S Q
C) Q R S P D) Q R P S
 
Answer & Explanation Answer: D) Q R P S

Explanation:

Since, the starting statement carries a subject; the next statement will carry a verb i.e. Q follows as it mentioned the discovery of the Regent. R will bethe continuing statement which states what he actually discovered. P follows next as it talked about the reaction of the Regent after the discovery. And S would be the concluding statement and thus form a coherent paragraph.

The correct formation would be, ‘The Regent having discovered that he had imprisoned an innocent man released Voltaire and gave him a pension.’

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2025
Q:

The complexity and variety of organic molecules is due to

A) their interaction with water B) their tremendously large sizes
C) the chemical versatility of carbon atoms D) the variety of rare elements in organic molecules
 
Answer & Explanation Answer: C) the chemical versatility of carbon atoms

Explanation:

The complexity and variety of organic molecules is due to the chemical versatility of carbon atoms.

Report Error

View Answer Report Error Discuss

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

1 2025
Q:

Isotopes are atoms of the same element that have different

A) numbers of neutrons B) numbers of electrons
C) numbers of protons D) atomic numbers
 
Answer & Explanation Answer: A) numbers of neutrons

Explanation:

Isotopes are variations of an element that have the same charge as the original element, but a different mass, which is caused by either more/less neutrons in the nucleus.

 

Report Error

View Answer Report Error Discuss

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

3 2024