Questions

Q:

What would be the output of the following program?

main()

{

    static int a[20];

    int i = 0;

    a[i] = i++;

    printf ("\n%d%d%d", a[0],  a[1], i);

}

Answer

0  0  1


That's what some of the compilers would give. But some other compiler may give a different answer. The reason is, when a single expression causes the same object to be modified and then inspected the behaviour is undefined.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2317
Q:

In which year ,UN general Assembly terminated South Africa's mandate over Namibia

A) 1968 B) 1966
C) 1969 D) 1965
 
Answer & Explanation Answer: B) 1966

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2317
Q:

Mediterranean  climate is ideal for growing

A) wheat and barley B) tea and coffee
C) Surgarcane and beet D) orange and lemons
 
Answer & Explanation Answer: D) orange and lemons

Explanation:

The hot dry summers and cool wet winters are especially suited for citrus fruits and therefore these lands are some times reffered to as the 'world's orchard land' .

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 2317
Q:

Select the word with the correct spelling.

A) thrashere B) fiefedoms
C) snifing D) squashed
 
Answer & Explanation Answer: D) squashed

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2317
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

The introduction of

A-­had ruled from the time man learned to cook food

B-­meant the end of firewood, which

C-­the kerosene stove also

A) CAB B) BCA
C) CBA D) BAC
 
Answer & Explanation Answer: B) BCA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2316
Q:

Where would rna polymerase attach?

A) Phosphate groups B) DNA
C) Both A & B D) None of the above
 
Answer & Explanation Answer: B) DNA

Explanation:

RNA polymerase attach to DNA molecule.

Report Error

View Answer Report Error Discuss

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

4 2316
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

P: For that we need people who possess not only high skills but high values as well.
Q: So the need of the hour is not only skill-based education but also value-inspired and value-based education.
R: When we talk of investing in education, a question arises as to what kind of education needs to be given to the youngster.
S: Our aim is to evolve not only an affluent society, but an egalitarian, just, humane and compassionate society.

A) SPRQ B) PRQS
C) RQSP D) RSPQ
 
Answer & Explanation Answer: D) RSPQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2316
Q:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select the appropriate option. If a sentence is free from error, select 'No Error'.

1. Four famous Sikh shrines in Delhi will go green

2. by employing solar energy

3. to meet its daily power needs from April.

4. No error

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2315