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

Florence Nightingale was known as

Answer

Lady of the Lamp

Report Error

View answer Workspace Report Error Discuss

Subject: World History

1 3216
Q:

What is multi - level marketing (MLM)?

Answer

It is a marketing strategy in which the sales force is compensated not only for sales they personally generate, but also for the sales of the other salespeople that they recruit. This recruited sales force is reffered to as the participant's 'downline' , and can provide multiple levels of compensation. Other terms used for MLM include pyramid selling, network marketing and refferal marketing. Most commonly, the salespeople are expected to sell products directly to consumers by means of relationship referrals and word-of-mouth marketing.

Report Error

View answer Workspace Report Error Discuss

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

What important polymer is located in the nucleus?

A) Ribosomes B) Chromosomes
C) DNA D) Proteins
 
Answer & Explanation Answer: C) DNA

Explanation:

The most important polymer present in the nucleus is DNA- the master molecule. It is a polymer of Nucleotides.

Report Error

View Answer Report Error Discuss

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

2 3214
Q:

Pearl Harbour is located in

Answer

Hawai

Report Error

View answer Workspace Report Error Discuss

Subject: World History

4 3213
Q:

A thing of beauty is a joy forever meaning

A) some beauty gives happiness B) beauty gives a nice sleep
C) a quietness D) nothingness
 
Answer & Explanation Answer: A) some beauty gives happiness

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

1 3212
Q:

In which of the following organelles does photosynthesis take place?

A) Miochondria B) Chloroplast
C) Central Vacuole D) Ribosome
 
Answer & Explanation Answer: B) Chloroplast

Explanation:

Chloroplasts use energy from light to transform carbon dioxide and water into sugar and oxygen.

A green pigment located in membranes within the chloroplasts of plants and algae and in the membranes of certain prokaryotes.

Report Error

View Answer Report Error Discuss

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

3 3212