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

Place these hydrocarbons in order of decreasing boiling point.

1. Paraffin

2. Octadecane

3. Hexane

4. Neohexane and

5. Ethane

A) Paraffin > Octadecane > Neohexane > Hexane > Ethane B) Paraffin > Octadecane > Hexane > Neohexane > Ethane
C) Hexane > Paraffin > Octadecane > Neohexane > Ethane D) None of the above
 
Answer & Explanation Answer: B) Paraffin > Octadecane > Hexane > Neohexane > Ethane

Explanation:

In hydrocarbon, the boiling point directly varies with the length of carbon chain. On increasing the number of carbon atom, the boiling point of the compound also increases. Paraffin contains highest number of carbon atoms whereas, ethane is comprised of two carbon atoms.

 

The decreasing order of boiling point of mention compounds is written as follows:

Paraffin > Octadecane > Hexane > Neohexane > Ethane

Report Error

View Answer Report Error Discuss

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

10 45379
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 44940
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 44904
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 44778
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

86 44318
Q:

Give the common name for the following compound

CH32CH CH2 - Br

A) Isobutyl bromide B) Methyl bromide
C) Propyl bromide D) Butyl bromide
 
Answer & Explanation Answer: A) Isobutyl bromide

Explanation:
Report Error

View Answer Report Error Discuss

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

7 44159
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

876 44102