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

Homology is evidence of

A) Common ancestry B) Divergent evolution
C) Punctuated evolution D) Convergent evolution
 
Answer & Explanation Answer: A) Common ancestry

Explanation:

In biology, Homology is defined as any characteristic of biological organisms that is derived from a common ancestor. 

 

Hence, Homology is evidence of Common ancestry.

Report Error

View Answer Report Error Discuss

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

0 1972
Q:

Primary productivity is not limited by

A) Time B) Availability of sunlight
C) Water D) Nutrients
 
Answer & Explanation Answer: A) Time

Explanation:

Primary productivity refers to plants that make their own food using sunlight, water and availability of nutrients. Hence, they are not limited by time.

Report Error

View Answer Report Error Discuss

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

1 1971
Q:

Which generation of computer is still under development?

A) 5th B) 4th
C) 3rd D) 2nd
 
Answer & Explanation Answer: A) 5th

Explanation:

5th generation of computers are still under development depending on the artificial intelligence.

Report Error

View Answer Report Error Discuss

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

3 1971
Q:

On 26thNovember, 1949, which of the following provisions of the Constitution of India came into effect?

1.Citizenship

2.Elections

3.Provisional Parliament

4.Fundamental Rights

 

Select the correct answer using the code given below.

A) 2, 3 and 4 B) 1, 2 and 3
C) 1 and 3 only D) 1 and 2 only
 
Answer & Explanation Answer: B) 1, 2 and 3

Explanation:

Some provisions of the Constitution pertaining to citizenship, elections, provisional parliament, temporary and transitional provisions, and short title contained in Articles 5, 6, 7, 8, 9, 60, 324, 366, 367, 379, 380, 388, 391, 392 and 393 came into force on November 26, 1949 itself

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 1971
Q:

Marasmus usually is associated with a deficiency of

A) Vitamins B) Calories
C) Proteins D) Fats
 
Answer & Explanation Answer: B) Calories

Explanation:

Marasmus usually is associated with a deficiency of Calories.

Report Error

View Answer Report Error Discuss

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

3 1971
Q:

What is the main cause of Tsunami?

A) Tectonism B) Earthquake on Sea Surface
C) Tidal force D) All of the above
 
Answer & Explanation Answer: B) Earthquake on Sea Surface

Explanation:

The main cause of Tsunami is Earthquake on Sea Surface.

Report Error

View Answer Report Error Discuss

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

4 1970
Q:

India has donated what amount for a peacekeeping initiative at the UN?

A) $ 3 lakh B) $ 5 lakh
C) $ 10 lakh D) $ 1 lakh
 
Answer & Explanation Answer: A) $ 3 lakh

Explanation:

India has donated $ 3 lakh for a peacekeeping initiative at the United Nations pipeline for peacekeeping initiative at the UN.

Report Error

View Answer Report Error Discuss

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

2 1970