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

What are the operating system components?

Answer

- Process management


- Main memory management


- File management


- I/O system management


- Secondary storage management


- Networking


- Protection system


- Command interpreter system

Report Error

View answer Workspace Report Error Discuss

2 2685
Q:

In what way is geography an integrative science?

A) Geography is an integrative science because it borrows from physical sciences such as chemistry, biology, meterology, and geology B) Geography is an integrative science because it borrows from human science such as cultural studies , economics , and public policy
C) Geography is an integrative science because it examines Earth in both physical and human terms D) All of the above
 
Answer & Explanation Answer: C) Geography is an integrative science because it examines Earth in both physical and human terms

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2684
Q:

Rana Pratap Sagar Dam is built on which of the following rivers?

A) Ghagra B) Yamuna
C) Kosi D) Chambal
 
Answer & Explanation Answer: D) Chambal

Explanation:

Rana Pratap Sagar Dam is built on Chambal river in Rajasthan.

Report Error

View Answer Report Error Discuss

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

2 2683
Q:

The only perennial river in Peninsular India is _____ .

A) Godavari B) Kaveri
C) Krishna D) Bhima
 
Answer & Explanation Answer: B) Kaveri

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 2683
Q:

Which of the following professionals cannot diagnose a patient?

A) Nurse B) Specialist
C) Physician's assistant D) Medical doctor
 
Answer & Explanation Answer: A) Nurse

Explanation:

A nurse cannot diagnose a patient among the given options. 

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

Which state govt launched Krishak Bandhu scheme to address farmers distress?

A) Telangana B) Kerala
C) West Bengal D) Madhya Pradesh
 
Answer & Explanation Answer: C) West Bengal

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

Which one of the following pairs of animals is warm blooded?

A) Crocodile and Ostrich B) Hagfish and Dogfish
C) Tortoise and Ostrich D) Peacock and Camel
 
Answer & Explanation Answer: D) Peacock and Camel

Explanation:

Warm-blooded creatures, like mammals and birds, try to keep the inside of their bodies at a constant temperature. They do this by generating their own heat when they are in a cooler environment, and by cooling themselves when they are in a hotter environment. To generate heat, warm-blooded animals convert the food that they eat into energy. Peacock and camel are warm blooded animals.

 

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: Bank Exams

13 2683