Questions

Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3267
Q:

What English word has three consecutive double letters?

Answer

Bookkeeper is the only English word that has three consecutive double letters.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: CAT , Bank Exams
Job Role: Bank Clerk

5 3266
Q:

I go around and in the house but never touches the house. What am I?

Answer

Te Sun.


From the time rising it goes around the house upto sunset, but never touches the house.

Report Error

View answer Workspace Report Error Discuss

7 3266
Q:

Alcohol first impairs your

A) hearing skills B) colour recognition
C) judgement D) heart
 
Answer & Explanation Answer: C) judgement

Explanation:

The reason why drunk people acts like stupids is when they drink, especially if they drink a lot, first their brain becomes impaired by such large quantities of alcohol that it cannot operate properly. So they cannot judge anything.

 

 Alcohol_first_impairs_your1537335416.jpg image

 

Hence, Alcohol first impairs your Judgement.

Report Error

View Answer Report Error Discuss

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

3 3266
Q:

The function of nitrogen in air is 

A) to make air a moderate supporter of combustion B) to maintain the density of air constant
C) to prevent the hydrogen in air from exploding D) to reduce the poisonous nature of ozone in air
 
Answer & Explanation Answer: A) to make air a moderate supporter of combustion

Explanation:

If air contained all oxygen and no nitrogen, everything would have burnt off

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 3266
Q:

The atoms of the elements which have same number of neutrons are called

A) Isobars B) Isotopes
C) Isotones D) None
 
Answer & Explanation Answer: C) Isotones

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

4 3265
Q:

The article of the Constitution of India which deal with Directive Principles of state Policy are

A) 26 to 41 B) 30 to 45
C) 36 to 51 D) 40 to 55
 
Answer & Explanation Answer: C) 36 to 51

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

2 3265
Q:

Who has been elected as the first woman chairman of Indian Bank's Association (IBA)?

A) Usha Ananthasubramanian B) Shikha Sharma
C) Kaku Nakhate D) Chanda Kochhar
 
Answer & Explanation Answer: A) Usha Ananthasubramanian

Explanation:
Report Error

View Answer Report Error Discuss

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

6 3264