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

Arrange the following cities in an order from North to South

1) Bhubaneshwar
2) Chennai
3) Hyderabad
4) Cochin

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 53929
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 53858
Q:

Which of the following statements are CORRECT?

 


I. The soap molecules form structures called micelles.


II Soap micelles cannot scatter light.


III. Oily dirt gets collected in the center of the micelle.

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 53808
Q:

Which of the statements given below are correct?


A) Rafael Nadal won the Tennis 2017 French Open Men's Singles.


B) In 2017, Valentino Rossi raced in MotoGP for Ducati.


C) In 2017, Marc Márquez raced in MotoGP for Honda.

 

A) Only A B) Only B
C) Both A and C D) A, B and C
 
Answer & Explanation Answer: C) Both A and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

7 53608
Q:

Who first imposed Jizya Tax in India?

A) Allaudin khilji B) Aurangzeb
C) Mohammad Bin Qasim D) Qutb-ud-din Aibak
 
Answer & Explanation Answer: D) Qutb-ud-din Aibak

Explanation:

In India, Islamic rulers Qutb-ud-din Aibak imposed jizya on non-Muslims first time which was called kharaj-o-jizya. Jizya was abolished by the Mughal ruler Akbar in the 16th century but was re-introduced by Aurangzeb in the 17th century.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk

150 53547
Q:

Nuclear sizes are expressed in a unit named

A) Fermi B) Angstrom
C) Newton D) Tesla
 
Answer & Explanation Answer: A) Fermi

Explanation:

Nuclear sizes are expressed in a unit called "Fermi" which is a unit of length equal to 10−15 metre (one femtometre), used in nuclear physics. It is similar to the diameter of a proton.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

394 53402
Q:

_____are attempts by individuals to obtain confidential information from you by falsifying their identity

A) Phishing trips B) Computer viruses
C) Phishing scams D) Spyware scams
 
Answer & Explanation Answer: C) Phishing scams

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams
Job Role: Bank PO

434 53395