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

68 45369
Q:

Improve the given sentence if necessary.

My father has given his ascent for my long tour.

A) accent B) approof
C) assent D) No improvement
 
Answer & Explanation Answer: C) assent

Explanation:

Ascent’ means upward moment and is incorrect as per the meaning of the sentence. ‘Accent’ means to emphasize a particular feature; ‘Approof’ means trial, and ‘Assent’ means to give an expression of approval or agreement. Thus, ‘Ascent’ needs to be replaced with ‘Assent’ Thus, the correct formation would be, ‘My father has given his assent for my long tour’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 45349
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

175 44914
Q:

Select the antonym of

VILE

A) virtuous B) coarse
C) vicious D) abject
 
Answer & Explanation Answer: A) virtuous

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

3 44792
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

148 44738
Q:

which part of the given sentence has an error?

She don't speak of either German or French.

A) don't B) of
C) or D) speak
 
Answer & Explanation Answer: B) of

Explanation:

She don't speak either German or French is the correct sentence in English.

Report Error

View Answer Report Error Discuss

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

42 44444
Q:

The Indian Parliament cannot legislate on a subject of State List unless:

1. The president of India directs it to do so

2. The Rajya Sabha passes a resolution that it necessary to do so in national interest.

3. The Speaker of the Vidhan Sabha certifies that the Legislation is necessary 

4. There is national emergency

Consider the above statements, select the correct answer from the codes given below

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

13 44420
Q:

Some pins are needles. Some needles are handles. Some handles are locks. Some locks are keys.

Conclusions:

I. Some keys are handles

II.Some handles are pins

III. Some pins are keys

A) None follows B) Only I and II follow
C) only II and III follow D) only I and III follow
 
Answer & Explanation Answer: A) None follows

Explanation:

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

13 44412