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

Florence Nightingale was known as

Answer

Lady of the Lamp

Report Error

View answer Workspace Report Error Discuss

Subject: World History

1 3226
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 3226
Q:

The insects do not have blood pigments because 

A) there is no blood B) tissues have pigments
C) blood does not have a respiratory function D) pigments are elsewhere
 
Answer & Explanation Answer: C) blood does not have a respiratory function

Explanation:

The blood of some invertebrate animals like the earthworm is red due to haemoglobin pigment, but the pigment is dissolved in the plasma. In vertebrates the same pigment is found in the red corpuscles and not in the plasma.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

3 3225
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 3225
Q:

The Hooke's law is valid for

A) only proportional region of the stress strain curve B) entire stress strain curve
C) entire elastic region of the stress strain curve D) elastic as well as plastic region of the stress strain curve
 
Answer & Explanation Answer: A) only proportional region of the stress strain curve

Explanation:

Hooke's law states that within the elastic limit, stress developed is directly proportional to the strain produced in a body.Hooke’s law is valid only in the linear part of stress-strain curve. Hence, statement 1 is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 3225
Q:

Consider the following statements about the Bureau of Pharma PSUs of India (BPPI):1. It is the implementing agency of Pradhan Mantri Bhartiya Janaushadhi Pariyojana (PMBJP).2. It has registered as an independent society under the Societies Registration Act, 1860.Which of the statements given above is/are correct?

A) 1 only B) 2 only
C) Both 1 and 2 D) Neither 1 nor 2
 
Answer & Explanation Answer: C) Both 1 and 2

Explanation:

Bureau of Pharma PSUs of India (BPPI) is the implementing agency of Pradhan Mantri Janaushadhi Pariyojana (PMBJP). BPPI was established in December2008 under the Department of Pharmaceuticals, Government of India. The Bureau has been registered as an independent society under the Societies RegistrationAct, 1860 as a separate independent legal entity in April, 2010. BPPI follows the provisions of GFR, 2017 as amended from time to time, the CVC guidelines, and instructions from the Department of Pharmaceuticals.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 3225
Q:

Who has sworn in as 45th Chief Justice of India  ?

A) Dipak Misra B) J S Khehar
C) T. S. Thakur D) Ranganath Misra
 
Answer & Explanation Answer: A) Dipak Misra

Explanation:
Report Error

View Answer Report Error Discuss

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

4 3223