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

63 44298
Q:

 What is the role of the Emergency Change Advisory Board (ECAB)?

A) To assist the Change Manager in ensuring that no urgent changes are made during particularly volatile business periods B) To assist the Change Manager in evaluating emergency changes and to decide whether the change should be approved
C) To assist the Change Manager in speeding up the emergency change process so that no unacceptable delays occur. D) To assist the Change Manager in implementing emergency changes
 
Answer & Explanation Answer: B) To assist the Change Manager in evaluating emergency changes and to decide whether the change should be approved

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: ITIL Certification

18 43949
Q:

Who have the power to decide an election petition?

A) Parliament B) Supreme Court
C) High Courts D) Election Commission
 
Answer & Explanation Answer: C) High Courts

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

168 43808
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

145 43267
Q:

Kapildhara Falls is situated on which river?

 

A) Tapi B) Sharavati
C) Narmada D) Indravati
 
Answer & Explanation Answer: C) Narmada

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

8 43040
Q:

The weight of an object will be minimum when it is placed at  ?

A) The North Pole B) The South Pole
C) The Equator D) The center of the Earth
 
Answer & Explanation Answer: D) The center of the Earth

Explanation:

The weight of an object is minimum when it is placed at the center of the earth because when an object is in the center, it experiences gravitational pull from all directions.

Report Error

View Answer Report Error Discuss

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

226 42820
Q:

'One who possesses many talents'

One word substitute for the given word is?

A) Exceptional B) Wisdom
C) Versatile D) Nubile
 
Answer & Explanation Answer: C) Versatile

Explanation:

A person, One who possesses many talents is called a Versatile.

 

It means multiskilled, adaptable, flexible, ...

versatile1533106888.png image

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

43 42306
Q:

Which of the following is not written by Munshi Premchand

A) Gaban B) Godan
C) Manasorovar D) Guide
 
Answer & Explanation Answer: D) Guide

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

150 42159