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

Examine these two statements carefully and select the correct answer using the code given below.

Statement I :The Pahi-kashta peasants were non-resident cultivators cultivating lands on a contractual basis.

Statement II :The Pahi-kashta peasants worked under the temptation of favourable terms of revenue or the compulsion of economic distress.

A) Both the Statements are individually true and Statement II is the correct explanation of Statement I B) Both the Statements are individually true but Statement II is not the correct explanation of Statement I
C) Statement Iis true but Statement II is false D) Statement I is false but Statement II is true
 
Answer & Explanation Answer: A) Both the Statements are individually true and Statement II is the correct explanation of Statement I

Explanation:

Sources of the seventeenth century refer to two kinds of peasants –khud-kashta and pahi-kashta. The pahi-kashta were non-resident cultivators who belonged to some other village but cultivated lands elsewhere on a contractual basis. People became pahi-kashta either out of choice –for example, when terms of revenue in a distant village were more favourable –or out of compulsion –for example, forced by economic distress after a famine.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 46129
Q:

Improve the bracketed part of the sentence.

 

(As) you find me absent, please leave the parcel with my colleague.

 

A) Would B) Could
C) Should D)  no improvement
 
Answer & Explanation Answer: C) Should

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 46126
Q:

Improve the bracketed part of the sentence.

 

I took for a ride the motorcycle (which Rohit has) bought yesterday.

 

A) that Rohit B) that which Rohit has
C) that Rohit had D) no improvement
 
Answer & Explanation Answer: A) that Rohit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

160 46007
Q:

Select the synonym of:

 

to entrain

 

A) to alight B) to debark
C) to mount D) to disembark
 
Answer & Explanation Answer: C) to mount

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 46005
Q:

Rearrange the parts of the sentence in correct order.

 

A significant number

P-­in the rural non-­farm sector
Q-­to be created
R­-of these jobs will have

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 45951
Q:

Who expanded the cell theory and suggested that all the cells arise from pre-existing cells?

 

A) T. Schwann B) M. Schleiden
C) J. E. Purkinje D) Rudolf Virchow
 
Answer & Explanation Answer: D) Rudolf Virchow

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

0 45949