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

Insert command falls in which sub-language of SQL ?

A) DCL B) DQL
C) DML D) DDL
 
Answer & Explanation Answer: C) DML

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Oracle Certification

5 2705
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 2705
Q:

When insulin is released, it causes

A) Amount of glucose in blood decreases B) Amount of glucose in blood increases
C) Amount of bile juice increases D) Amount of bile juice decreases
 
Answer & Explanation Answer: A) Amount of glucose in blood decreases

Explanation:

We know that, when we eat a meal, any carbohydrates we've eaten are broken down into glucose and passed into the bloodstream. This rise in blood glucose causes insulin to be released from the pancreas so glucose can move inside the cells and be used. As glucose moves inside the cells, the amount of glucose in the bloodstream returns to normal and insulin release slows down.

Report Error

View Answer Report Error Discuss

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

3 2705
Q:

Process by which sediment is removed from its source is called

A) deposition B) erosion
C) weathering D) composition
 
Answer & Explanation Answer: B) erosion

Explanation:

Process by which sediment is removed from its source is called Erosion.

Report Error

View Answer Report Error Discuss

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

1 2704
Q:

Land of Thunderbolt is the nickname of which Asian country?

A) Nepal B) Bhutan
C) Myanmar D) Bolivia
 
Answer & Explanation Answer: B) Bhutan

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

0 2703
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 2703
Q:

The mechanism of water reabsorption by the renal tubules is

A) solvent drag B) osmosis
C) active transport D) cotransport with sodium ions
 
Answer & Explanation Answer: B) osmosis

Explanation:

Water reabsorption by the renal tubules is harmonally controlled and it is a osmosis mechanism.

Report Error

View Answer Report Error Discuss

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

0 2703