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

The shuddi movement to bring back to the Hindufold people converted to other religions from Hinduism was launched by

Answer

Arya Samajam

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

44 3196
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 3196
Q:

Tirupati temple of Lord Venkateswara is situated in which state

Answer

Andhra Pradesh

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

39 3194
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 3194
Q:

What is an error in a program called

A) Power fail B) Crash
C) Virus D) Bug
 
Answer & Explanation Answer: D) Bug

Explanation:

In computer technology, a coding error in a computer program is called a bug.

Report Error

View Answer Report Error Discuss

2 3194
Q:

Which of the following is known as the Electronic City of India?

A) Hyderabad B) Mumbai
C) Bengaluru D) Gurgaon
 
Answer & Explanation Answer: C) Bengaluru

Explanation:

Bengaluru city is known as the Electronic City of India. Because Electronic City is an IT hub in Anekal taluk of Bengaluru, Karnataka, India. It is one of India's largest electronic industrial parks in 3 phases i.e, in Konappana Agrahara and Doddathogur villages, Bengaluru.

Report Error

View Answer Report Error Discuss

3 3193
Q:

What process never occurs in interphase?

Answer

Absence of cell division is the process that never comes in interphase.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams
Job Role: Analyst

5 3193