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

The island of Sri Lanka formerly known as

A) Maldives B) Bali
C) Ceylon D) Madagaskar
 
Answer & Explanation Answer: C) Ceylon

Explanation:

In the history, at the time of British rule in 1800's, the island of Sri Lanka formerly known as Ceylon. It is a south asian country located in the northest of the indian ocean.

the_island_of_sri_lanka_formerly_known_as1553080594.png image

Report Error

View Answer Report Error Discuss

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

0 2025
Q:

Prime Minister Narendra Modi inaugurated India's first Multi-Modal Terminal on which river?

A) Ganga B) Godavari
C) Yamuna D) Krishna
 
Answer & Explanation Answer: A) Ganga

Explanation:

Prime Minister Narendra Modi inaugurated India's first Multi-Modal Terminal on The Ganga river.

Report Error

View Answer Report Error Discuss

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

0 2025
Q:

Which of the following is an operating system?

A) Windows NT B) UNIX
C) DOS D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2025
Q:

The system board is also known as the

A) Mother board B) Main circuit board
C) Baseboard D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The system board is also known as the Mother board, Main circuit board, Baseboard or logic board.

Report Error

View Answer Report Error Discuss

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

4 2025
Q:

Rate at which velocity changes over time?

A) Speed B) Displacement
C) Acceleration D) Jerk
 
Answer & Explanation Answer: C) Acceleration

Explanation:

Acceleration is nothing but the rate at which velocity changes over time.

Report Error

View Answer Report Error Discuss

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

7 2024
Q:

Group 7A of the periodic table contains the

A) most reactive metals B) least reactive non metals
C) most reactive non metals D) least reactive metals
 
Answer & Explanation Answer: C) most reactive non metals

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2024
Q:

Which among the following has the maximum density?

A) Water B) Ice
C) Ethylene D) Acetone
 
Answer & Explanation Answer: A) Water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2024