Questions

Q:

What will be output of following c code?

#include <stdio.h>
int main()

{
    int x=123;
    int i={
         printf("c" "++")
    };
    for(x=0;x<=i;x++){
         printf("%x ",x);
    }
    return 0;

}

Answer

Output: c++0 1 2 3

Explanation: First printf function will print: c++ and return 3 to variable i.For loop will execute three time and printf function will print 0, 1, 2 respectively.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

71 46477
Q:

Who among the following holds the office during the pleasure of President?

I. Attorney General of India

II. Governors of states

III. Comptroller and Auditor General of India

A) Only I B) Both I and II
C) Both I and III D) Both II and III
 
Answer & Explanation Answer: B) Both I and II

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 46460
Q:

Photosynthesis fulfills which of the following requirements of the autotrophic organisms?

I. Carbon

II. Water

III. Energy

A) Only I B) Only III
C) I and III D) All I, II and III
 
Answer & Explanation Answer: C) I and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 46353
Q:

Which is not a green house gas in the following?

 

A) Ozone B) Nitrous oxide
C) Water vapour D) Hydrogen
 
Answer & Explanation Answer: D) Hydrogen

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 46215
Q:

Which of the following statements is Incorrect?

 

A) The particles of matter have spaces between them B) The particles of matter are extremely small
C) The particles of matter attract each other D) The particles of matter are in stationary state
 
Answer & Explanation Answer: D) The particles of matter are in stationary state

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 46209
Q:

In the 'Index of Eight core Industries'

which one of the following is given the highest weight?

A) Coal Produciton B) Electricity Generation
C) Fertilizer Production D) Steel Production
 
Answer & Explanation Answer: B) Electricity Generation

Explanation:

The Eight Core Industries comprise nearly 38 % of the weight of items included in the Index of Industrial Production (IIP).  Electricity generation (weight: 10.32%)

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

8 46127
Q:

Who is the author of the book New India?

A) Manik Bandopadhyay B) Annie Besant
C) John Milton D) None
 
Answer & Explanation Answer: B) Annie Besant

Explanation:

Annie Besant is the author of New India

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

160 46117
Q:

Which animal gives both milk and eggs?

A) Echidna B) Platypus
C) Wombat D) All of the above
 
Answer & Explanation Answer: B) Platypus

Explanation:

Platypus is the animal that gives both milk and eggs.

Which_animal_gives_both_milk_and_eggs1548849490.jpg image

Report Error

View Answer Report Error Discuss

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

21 46109