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:

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:

In the following question, four words are given out of which one word is correctly spelt. Select the correctly spelt word.

A) Perverted B) Pervirted
C) Parverted D) Parvirted
 
Answer & Explanation Answer: A) Perverted

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.

 

Although not all those who study

 

A-better thinkers and leaders

B-become philosophers, they become

C-logic or philosophy may

 

The question below consists of a set of labelled sentences. Out of the four options giv
en, select the most logical order of the sentences to form a coherent
paragraph.
Although not all those who study
A-
better thinkers and leaders
B-
become philosophers, they become
C-
logic or philosophy may

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

Someone who copies everything you do

A) Copycat B) Copyroom
C) Copydog D) Copyrat
 
Answer & Explanation Answer: A) Copycat

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2316
Q:

what is the interrupt?

Answer

interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.


A signal informing a program that an events has occurred. when a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal).

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2316