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

Materials that usually are good conductors of electricity?

A) Aluminium B) Lead
C) Nickel D) Wood
 
Answer & Explanation Answer: A) Aluminium

Explanation:

Materials that usually allow electricity to pass through them are called Good conductors of electricity.


Conductors conduct electrical current very easily because of their free electrons.

Examples are :: Aluminium, Gold, Copper, Silver

 

Materials that do not allow or oppose electrical current & make poor conductors are called Insulators.

Examples are :: Glass, Plastic, Wood, Air,...

Report Error

View Answer Report Error Discuss

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

5 2231
Q:

The Waste to Wonder park is in?

A) Pune B) Gujarat
C) Delhi D) Hyderabad
 
Answer & Explanation Answer: C) Delhi

Explanation:

The "Waste to Wonder” park is in south Delhi.

Report Error

View Answer Report Error Discuss

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

3 2230
Q:

If m+n=1, then the value of m3+n3+3mn is equal to

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

Explanation:
Report Error

View Answer Report Error Discuss

0 2230
Q:

The chemical makeup of a rock is

A) Nutrients B) Minerals
C) Metals D) Water
 
Answer & Explanation Answer: B) Minerals

Explanation:

The chemical composition of a rock is mainly minerals.

Report Error

View Answer Report Error Discuss

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

1 2230
Q:

What two elements are used to make bronze?

A) Lead and copper B) copper and tin
C) Tin and lead D) copper and iron
 
Answer & Explanation Answer: C) Tin and lead

Explanation:

The two elements that are used to make bronze are tin and lead.

Report Error

View Answer Report Error Discuss

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

2 2229
Q:

A shopkeeper mixed two verities of rice at Rs. 40/kg and Rs.60/kg in the ratio 3: 2 and sold the mixture at 10% profit. Find the  price per kg at which he sold the mixture?

A) Rs. 56 B) Rs. 58.8
C) Rs. 54 D) Rs. 52.8
 
Answer & Explanation Answer: D) Rs. 52.8

Explanation:

Ans.  CP of mixture = {(40*3+60*2)/2+3} = 48 SP of the mixture = 1.1 48 =52.8

Report Error

View Answer Report Error Discuss

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

0 2229
Q:

Main bench of National Green Tribunal is located at

A) Delhi B) Pune
C) Lucknow D) Bhopal
 
Answer & Explanation Answer: A) Delhi

Explanation:

Main bench of National Green Tribunal is located at national capital city Delhi on 18th October, 2010.

 

Its other benches are:

 

West sone at Pune

Central zone at Bhopal

East zone at Kolkata

South zone at Chennai.

Report Error

View Answer Report Error Discuss

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

3 2229