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

96 50182
Q:

“One People, One State, One leader” was the policy of

A) Stalin B) Hitler
C) Lenin D) Mussolin
 
Answer & Explanation Answer: B) Hitler

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

454 50179
Q:

The famous Kosijura Case of Bengal happened in whose reign?

 

A) Warren Hastings B) Lord Cornwallis
C) John Shore D) Wellesley
 
Answer & Explanation Answer: A) Warren Hastings

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 50046
Q:

Which of the following is used in pencils?

A) Silicon B) Phosphorous
C) Graphite D) Charcoal
 
Answer & Explanation Answer: C) Graphite

Explanation:

A pencil is an implement for writing or drawing. It is a thin core of graphite well mixed with clay, inside a wooden body as protective casing that prevents the core from being broken.

Which_of_the_following_is_used_in_pencils1558506948.jpg image

 

 

 

 

 

 

Report Error

View Answer Report Error Discuss

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

184 50000
Q:

Which planet has the most volcanoes in our solar system?

 

A) Jupiter B) Venus
C) Saturn D) Neptune
 
Answer & Explanation Answer: B) Venus

Explanation:

Venus has the most number of volcanoes than any other planet in the solar system.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

1 49997
Q:

Which of the following is used as a catalyst in the hydrogenation of vegetable oil?

 

A) He B) H2
C) Ni D) Pb
 
Answer & Explanation Answer: C) Ni

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams

1 49979
Q:

Which kind of power accounts for the largest share of power generation in India

A) Hydro - electricity B) Thermal
C) Nuclear D) Solar
 
Answer & Explanation Answer: B) Thermal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

187 49872
Q:

Which of the statements given below are correct?

 

A) Rafael Nadal won the Tennis 2017 Wimbledon Championships Men's Singles.


B) Aryan Tari won the 2017 World Junior Chess Championship.


C) Viktor Axelsen won the Men's Singles Badminton 2017 BWF World Championships.

 

A) Only A B) Only B
C) Both B and C D) None of these
 
Answer & Explanation Answer: C) Both B and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

7 49818