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 the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.

(of a cat) to make a low continuous vibratory sound expressing contentment.

 

A) to buzz B) to roar
C)  to meow D) to purr
 
Answer & Explanation Answer: D) to purr

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2317
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 2317
Q:

Variation in human skin color is an example of

A) Heredity B) Polygenic traits
C) Multiple alleles D) Incomplete dominance
 
Answer & Explanation Answer: B) Polygenic traits

Explanation:
Report Error

View Answer Report Error Discuss

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

3 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 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:

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:

In the following question, out of the four alternatives, select the word opposite in meaning to the word given.

Grotesque

A) Free B) Odd
C) Plain D) Queer
 
Answer & Explanation Answer: C) Plain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 2316