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

Which substance contains metallic bonds?

A) C6H12O6 B) Hg
C) H2O D) NaCl
 
Answer & Explanation Answer: B) Hg

Explanation:

Metallic bond is a bond between two metal atoms. Here in the given option Hg is the only metal with metallic bond.

Report Error

View Answer Report Error Discuss

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

4 2662
Q:

Attribution theory was designed to account for

A) how people explain others' behavior B) the process of revealing intimate aspects of ourselves to others
C) social facilitation and social loafing D) the loss of self-awareness that occurs in group situations
 
Answer & Explanation Answer: A) how people explain others' behavior

Explanation:

Attribution theory was designed to account for how people explain others' behavior. It is a theory in psychology states that the attributions people make about events and behavior can be classed as either internal or external. In an internal, or dispositional, attribution, people infer that an event or a person's behavior is due to personal factors such as traits, abilities, or feelings.

Report Error

View Answer Report Error Discuss

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

2 2661
Q:

The Nobel Prize in Economics was started in

A) 1901 B) 1936
C) 1957 D) 1967
 
Answer & Explanation Answer: D) 1967

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

4 2661
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 2660
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Run out of steam

A) Lose impetus or enthusiasm.   B) To keep going even after losing all energy.
C) Have no more funds to proceed any further D) Build interest as you go along
 
Answer & Explanation Answer: A) Lose impetus or enthusiasm.  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

0 2659
Q:

One of the following companies does have business interest in both oil and shipping sectors. Identify this.

A) Tata Group B) Reliance Group
C) Essar Group D) ONGC
 
Answer & Explanation Answer: C) Essar Group

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

6 2658
Q:

Which practice reduces the risk of a boating emergency?

Answer

Developing a habit of wearing your lifejacket or PFD at all times also reduces the chance that you will drown should you find yourself in the water unexpectedly.

Report Error

View answer Workspace Report Error Discuss

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

1 2658