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

Alauddin Khilji's first military operation was against which of the following?

 

A) Gujarat   B) Ranthambore  
C) Devagiri D) Chittaur
 
Answer & Explanation Answer: B) Ranthambore  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

2 54129
Q:

Which substance is produced when alcohol is added with petrol and used as a fuel?

 

A) Only oxygen B) Only carbon-dioxide
C) Only water D) Carbon-dioxide and water both
 
Answer & Explanation Answer: B) Only carbon-dioxide

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

3 54055
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 53959
Q:

When an object is thrown vertically upwards, at its maximum height its _____________.

 

A) potential energy is zero B) momentum is maximum
C) kinetic energy is zero D) gravitational force is maximum
 
Answer & Explanation Answer: C) kinetic energy is zero

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 53837
Q:

Transpiration in plants does helps in which of the following?

 

A) Absorption and upward movement of water B) Absorption and upward movement of minerals dissolved in water  
C) Temperature regulation D) All options are correct
 
Answer & Explanation Answer: D) All options are correct

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 53809
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 53749
Q:

Communication by touch is called

 

A) Haptics communication B) Proxemics communication
C) Semantics communication D) Chronemics communication
 
Answer & Explanation Answer: A) Haptics communication

Explanation:

Communication by touch is called Haptics communication and the study of this is called as Haptics.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 53695