Questions

Q:

What would be the output of the following program?

main()

{

   struct emp

   {

        char *n;

        int age;

   };

   struct emp e1 = { "Dravid", 23};

   struct emp e2 = e1;

   strupr (e2.n);

   printf ("\n%s",e1.n);

}

Answer

DRAVID


When a structure is assigned, passed, or returned, the copying is done monolithically. This means that the copies of any pointer fields will point to the same place as the original. In other words, anything pointed to is not copied. Hence, on changing the name through e2.n it automatically changed e1.n

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2714
Q:

Did mercury cure syphilis?

Answer

Mercury was the remedy of choice for syphilis in Protestant Europe. Until the early 20th century, the primary treatment for syphilis was mercury, in the form of calomel, ointments, steam baths, pills, and other concoctions.


Mercury was already being used in Western Europe to treat skin diseases.

Report Error

View answer Workspace Report Error Discuss

Subject: General Science Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk

1 2714
Q:

Speed regulation of synchronous motor is

A) 1% B) 25%
C) Zero D) 0.5%
 
Answer & Explanation Answer: C) Zero

Explanation:

speed_regulation_of_synchronous_motor1553077296.jpg image

Synchronous motor is a motor which runs at a constant speed irrespective of load attached to it. So the speed regulation of synchronous motor is ZERO.

Report Error

View Answer Report Error Discuss

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

5 2714
Q:

Support staff in the office of the president include

A) Repoters B) Cabinet members
C) Administrators D) All of the above
 
Answer & Explanation Answer: C) Administrators

Explanation:

Support staff in the office of the president include Administrators.

Support_staff_in_the_office_of_the_president_include1539257220.jpg image

Report Error

View Answer Report Error Discuss

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

1 2713
Q:

Sachin Tendulkar hit his 100th international century against which among the following team?

A) Bangladesh B) Pakistan
C) Sri Lanka D) England
 
Answer & Explanation Answer: A) Bangladesh

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2713
Q:

In which of the following, the cellular power plants - Mitochondria are absent?

A) Bacteria B) Red Algae
C) Brown Algae D) Green Algae
 
Answer & Explanation Answer: A) Bacteria

Explanation:

Mitochondria is absent in Bacteria as well as in Blue Green Algae. They are seen in eukaryotic cells for respiration purpose.

Report Error

View Answer Report Error Discuss

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

4 2713
Q:

Which molecule contains a nonpolar covalent bond?

A) Cl2 B) Br2
C) H2 D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

In all the given options, molecules are containing nonpolar covalent bonds.

Report Error

View Answer Report Error Discuss

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

2 2712
Q:

Who is the Italian avant-grade-motion-picture director and screen-writer whose films are known for their haunting images of human isolation?

Answer

Michelangelo Antonioni

Report Error

View answer Workspace Report Error Discuss

2 2712