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 47794
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 47760
Q:

The speed of light will be minimum while passing through

A) water B) vaccum
C) air D) glass
 
Answer & Explanation Answer: D) glass

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

473 47748
Q:

Fill in the blank with the most appropriate option.

 

18 volts = ___ x 3 ohms

 

A) 6 amperes B) 6 watts
C) 6 milliamperes D) 6 joules
 
Answer & Explanation Answer: A) 6 amperes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams

0 47667
Q:

Jiling-Langlota Iron ore Block and Guali Iron ore Block, have been inaugurated in which Indian state?

 

A) Odisha B) Jharkhand
C) Bihar D) Chhattisgarh
 
Answer & Explanation Answer: A) Odisha

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 47590
Q:

At 3.40, the hour hand and the minute hand of a clock form an angle of:

A) 120 degrees B) 125 degrees
C) 130 degrees D) 135 degrees
 
Answer & Explanation Answer: C) 130 degrees

Explanation:

Angle traced by hour hand in 12 hrs. = 360º.

 

Angle traced by it in  11/3 hrs=  36012*113°=110°

 

Angle traced by minute hand in 60 min. = 360º.

 

Angle traced by it in 40 min. =(360/60*40)°=240°

 

  Required angle (240 - 110)º = 130º.

Report Error

View Answer Report Error Discuss

Filed Under: Clock puzzles

163 47560
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 47240
Q:

Which of the following statement(s) is/are CORRECT?

I. Bases are soapy to touch.

II. Bases generate OH– ions.

III. Metal oxides dissolve in water to form Acidic solution. 

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 47165