Questions

Q:

Would the following program compile?

main()

{

    int a = 10, *j;

    void *k;

    J = k = &a;

    J++;

    k++;

   printf ("\n%u %u", j, k);

}

Answer

An error would be reported in the statement k++ since arithmetic on void pointers is not permitted unless the void pointer is appropriately typecasted.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2676
Q:

Improve the bracketed part of the sentence.
It was so hot during the concert that some spectators passed (out).

A) away B) by
C) over D) no improvement
 
Answer & Explanation Answer: D) no improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE

1 2676
Q:

What would be the output of the following program?

main()

{

     char ch ='A';

      printf ("%d%d", sizeof (ch), sizeof ('A'));

}

Answer

1   2

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2675
Q:

What is located at 180 degrees longitude?

A) Fiji B) Russia
C) Antarctica D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The 180th meridian or antimeridian is the meridian 180° east or west of the Prime Meridian, with which it forms a great circle dividing the earth into the Western and Eastern Hemispheres.

It is common to both east longitude and west longitude.

It is used as the basis for the International Date Line because it mostly passes through the open waters of the Pacific Ocean. However, the meridian passes through Russia and Fiji as well as Antarctica.

Report Error

View Answer Report Error Discuss

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

0 2675
Q:

The organs of the urinary system are

A) Kidney B) Urinary bladder
C) Ureter D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

the_organs_of_the_urinary_system_are1537338921.png image

 

The urinary system purpose in the human body is to eleminate the waste from the body. The urinary system is also called as Rena system. It consists of kidney, ureter, urinary bladder and urethra.

Report Error

View Answer Report Error Discuss

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

3 2675
Q:

The law of demand states that other things equal

A) as the price increases, the quantity demanded will decrease. B) as the price increases, the quantity demanded will increase.
C) as the price decreases, the demand curve will shift to the right. D) as the price increases, the demand will decrease.
 
Answer & Explanation Answer: A) as the price increases, the quantity demanded will decrease.

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2674
Q:

The country where the military has imposed martial law amid a political crisis

Answer

Thailand

Report Error

View answer Workspace Report Error Discuss

0 2673
Q:

Trishna gas project, which is in news recently, is located in which state?

A) Tripura B) Maharashtra
C) Madhya Pradesh D) Uttar Pradesh
 
Answer & Explanation Answer: A) Tripura

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2673