Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
    int const SIZE = 5;
    int expr;
    double value[SIZE] = { 2.0, 4.0, 6.0, 8.0, 10.0 };
    expr=1|2|3|4;
    printf ( "%f", value[expr] );
}

A) 2.000000 B) 4.000000
C) 8.000000 D) Compilation error
 
Answer & Explanation Answer: D) Compilation error

Explanation:

Size of any array in c cannot be constantan variable.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

5 45678
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 45295
Q:

Is statement about the clergy is true or false?

 

Village priests led a lifestyle similar to that of the nobility.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

At that time, the king would directly consult to a priest whenever He want to make the decision for the people. This mean that the role of the priest at that time is similar to the role of ministers on modern day's government. This make the priests have equal standing with other nobles.


 


Hence, Village priests led a lifestyle similar to that of the nobility according to clergy is true.

Report Error

View Answer Workspace Report Error Discuss

Subject: World History
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

9 44970
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 44793
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 44594
Q:

Select the synonym of

gaudy

A) modest B) showy
C) refined D) sophisticated
 
Answer & Explanation Answer: B) showy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT

12 44187
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

875 43902
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

237 43712