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

What is the usual colour of Aircraft data recorder "Black box" ?

A) Black B) Orange
C) Blue D) Greeen
 
Answer & Explanation Answer: B) Orange

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

4 3221
Q:

Visible light has a higher frequency than

A) Radio waves B) X rays
C) Ultra violet D) All the above
 
Answer & Explanation Answer: A) Radio waves

Explanation:

Radio waves have much longer wavelengths and lower frequencies than do visible light waves. In contrast, X-rays have much shorter wavelengths and higher frequencies. 

Ultraviolet Light (UV). part of the electromagnetic spectrum that consists of waves with frequencies higher than those of visible light and lower than those of x-rays.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

2 3221
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 3219
Q:

Florence Nightingale was known as

Answer

Lady of the Lamp

Report Error

View answer Workspace Report Error Discuss

Subject: World History

1 3219
Q:

One who believes in fate?

A) determinist B) predestinarianist
C) fatalist D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A person that believes completely in fate is a fatalist, or sometimes predestinarianist or determinist.

Report Error

View Answer Report Error Discuss

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

2 3219
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 3219
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 3219