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

Which of the following events is not related to the era of Warren Hastings?

A) First Anglo-Maratha War B) Rohilla War
C) Chait Singh Incident   D) The establishment of the College of Hellbury
 
Answer & Explanation Answer: D) The establishment of the College of Hellbury

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 2299
Q:

A sales tax is a type of

A) aggressive B) regressive
C) both A & B D) None of the above
 
Answer & Explanation Answer: B) regressive

Explanation:

Sales tax is an additional amount of money you pay based on a percentage of the selling price of goods and services that are purchased.

 

For example, if you purchase a new laptop Rs. 40000 and live in an area where the sales tax is 6%, you would pay Rs.2400 in sales tax.

Report Error

View Answer Report Error Discuss

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

0 2299
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.


Tongue-­in-­cheek

A) In an insincere way B) To praise wholeheartedly
C) A sensational news D) To say something hurtful
 
Answer & Explanation Answer: A) In an insincere way

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams

1 2299
Q:

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

Vigilance

A) Indifference B) Diligence
C) Acuity D) Circumspection
 
Answer & Explanation Answer: A) Indifference

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2299
Q:

CAD stands for _____.

A) Common Aided Design B) Computer Aided Design
C) Complex Aided Design D) Communication Aided Design
 
Answer & Explanation Answer: B) Computer Aided Design

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

3 2299
Q:

In the following passage some of the words have been left out. Read the passage carefully and select the correct answer for the given blank out of the four alternatives.

The modes of action are _____ in science and religion. Science relies on experiment, whereas religion is based on experience. Any religious _____ whether it is Christ’s or Ramakrishna’s is personal and _____ . Science, on the other hand is marked by objectivity. Theory has to be corroborated by _____ proof providing material comforts. The frontiers of science do not end in knowledge but are _____ to the formation of appliances for actual use.

it is Christ's or Ramakrishna's is personal and _____ .

A) significant B) irrelevant
C) subjective D) objective
 
Answer & Explanation Answer: C) subjective

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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