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

In a first instance of foreign oil company planning to list in the Indian Capital market, a well-known energy company has announced to go in for IPO to be listed on BSE. Name of the exploration and production company is 

A) Unocol B) Shell
C) British Petroleum D) Cairn Energy
 
Answer & Explanation Answer: D) Cairn Energy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 2644
Q:

Hong Kong will be transferred to china in

A) 1990 B) 1996
C) 1997 D) 2000
 
Answer & Explanation Answer: C) 1997

Explanation:
Report Error

View Answer Report Error Discuss

2 2643
Q:

Analog computer works on the supply of

A) Magnetic strength B) Continuous electrical pulses
C) Discontinuous electrical pulses D) None of the above
 
Answer & Explanation Answer: B) Continuous electrical pulses

Explanation:

Analog_computer_works_on_the_supply_of1557395703.jpg image

An analog computer or analogue computer is a type of computer that uses the continuously changeable aspects of physical phenomena such as electrical, mechanical, or hydraulic quantities to model the problem being solved.

Report Error

View Answer Report Error Discuss

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

2 2643
Q:

Ticks and mites are actually

A) Arachnids B) Insects
C) Myriapods D) Crustaceans
 
Answer & Explanation Answer: A) Arachnids

Explanation:
Report Error

View Answer Report Error Discuss

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

7 2643
Q:

The Reserve Bank of India has imposed a penalty of Rs 5 crore on which of the following banks for non-compliance of its directives?

A) Karur Vysya Bank B) HDFC Bank
C) Kotak Mahindra Bank D) Yes Bank
 
Answer & Explanation Answer: A) Karur Vysya Bank

Explanation:

The Reserve Bank of India has imposed a penalty of Rs 5 crore on Karur Vysya Bank for non-compliance of its directives on Income Recognition and Asset Classification (IRAC).

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

0 2642
Q:

How many Enzymes are there in the Human Body?

Answer

There are nearly about 75000 enzymes of 3 classes are there in the human body. They are :


1. Metabolic Enzymes - Enzymes that help to run our Bodies


2. Digestive Enzymes - Enzymes that help in digesting Food


3. Food Enzymes - Enzymes from raw foods that start our Food digestion.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO

11 2642
Q:

In Which three languages is the Rosetta Stone written?

Answer

Greek, demotic Egyptian and hieroglyphics.

Report Error

View answer Workspace Report Error Discuss

Subject: World History

0 2641