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

71 45495
Q:

Rearrange the parts of the sentence in correct order.

The economic

P : a country leads to exponential

Q : growth of that country

R : empowerment of women of

 

A) PRQ B) PQR
C) RPQ D) RQP
 
Answer & Explanation Answer: C) RPQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 45434
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 44998
Q:

Rearrange the parts of the sentence in correct order.As a result of greater competition

P : while others are contracting

Q : in the US computer industry

R : some computer companies are expanding

 

A) PQR B) QRP
C) PRQ D) QPR
 
Answer & Explanation Answer: B) QRP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

152 44948
Q:

Solve this number puzzle?

 

Number_puzzle_31537767337.jpg image

A) 40 B) 44
C) 60 D) 56
 
Answer & Explanation Answer: A) 40

Explanation:

The given puzzle follows a logic that,

2 + 10 = 24 => 2 + 10 = 12 x 2 = 24

3 + 6 = 27 => 3 + 6 = 9 x 3 = 27

7 + 2 = 63 = 7 + 2 = 9 x 7 = 63

 

Similarly, 5 + 3 = 40 => 5 + 3 = 8 x 5 = 40.

Report Error

View Answer Report Error Discuss

93 44784
Q:

Which animal do not make any sound?

Answer

Which_animal_do_not_make_any_sound1541394022.jpg image


Giraffe is the animal that do not make any sound.

Report Error

View answer Workspace Report Error Discuss

Subject: Animals and Birds Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

882 44261
Q:

Improve the bracketed part of the sentence.

The pet has just finished its meal (and is satisfied now).

 

A) now and was satisfied B) now and is satisfied
C) then and is satisfied D) no improvement
 
Answer & Explanation Answer: D) no improvement

Explanation:
Report Error

View Answer Report Error Discuss

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

8 44244