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

Select the synonym of
stash

A) dearth B) deficit
C) lack D) cache
 
Answer & Explanation Answer: D) cache

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2039
Q:

Who were awarded the Maharashtra state Govt’s Shiv Chhatrapati Award?

A) Smriti Mandhana B) Sachin Pilot
C) Saina Nehwal D) Periyar
 
Answer & Explanation Answer: A) Smriti Mandhana

Explanation:
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 2038
Q:

Which of the following has the lowest frequency?

A) Visible light B) Gamma rays
C) X­-rays D) Ultra violet rays
 
Answer & Explanation Answer: A) Visible light

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 2038
Q:

A group of inter­connected islands is known as __________ .

A) Strait B) Peninsula
C) Archipelago D) Lagoon
 
Answer & Explanation Answer: C) Archipelago

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 2038
Q:

Which neighbouring country of India is also reffered as 'Druk Yul'?

A) Myanmar B) Maldives
C) Bhutan D) Afghanistan
 
Answer & Explanation Answer: C) Bhutan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2038
Q:

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

A) scrupulus B) scruppulous
C) scruppulus D) scrupulous
 
Answer & Explanation Answer: D) scrupulous

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2038
Q:

Which one of the following States of India receives Sunshine at the earliest?

A) Arunachal Pradesh B) West Bengal
C) Himachal Pradesh D) Jammu & Kashmir
 
Answer & Explanation Answer: A) Arunachal Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2038