Questions

Q:

What is the difference between malloc() and calloc() functions?

Answer

As against malloc(), calloc() needs two arguments, the number of elements  to be allocated and the size of each element. For example,


 p = (int *) calloc (10, sizeof (int));


would allocate space for a 10- integer array. Additionally, calloc() would also set each of this element with a value 0.


Thus the above call to calloc() is equivalent to:


p = (int *) malloc (10 * sizeof (int));


memset (p, 0, 10 * sizeof( int ));

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4522
Q:

Electrical burns occur principally because of

A) Radiation pulses of the electricity B) The heat generated by the flow of electrical current through the body
C) The high energy of electrons D) All of the above
 
Answer & Explanation Answer: B) The heat generated by the flow of electrical current through the body

Explanation:

Electrical burns occur principally because of the heat generated by the flow of electrical current through the body.

 

Burns caused by electricity are divided into three types:

electrical burns,

arc burns, and

thermal contact burns.

 

Electrical burns can result when a person touches electrical wiring or equipment that is used or maintained improperly.

Report Error

View Answer Report Error Discuss

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

2 4522
Q:

 The first step in database development is which of the following?

A) Enterprise data modeling B) Logical database design
C) Physical database design and definition D) Database Implementation
 
Answer & Explanation Answer: A) Enterprise data modeling

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 4521
Q:

The vitamin required for coagulation of blood

A) B6 B) c
C) k D) b
 
Answer & Explanation Answer: C) k

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

8 4519
Q:

The World's largest railway platform is at

A) Talchar B) New York
C) Kharagpur D) None of these
 
Answer & Explanation Answer: C) Kharagpur

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 4518
Q:

Name the processor lines of two major manufacturer?

Answer

High-end: Intel - Pentium (II, III, 4) AMD - Athlon. Low-end: Intel - Celeron, AMD - Duron. 64-bit: Intel - Itanium 2, AMD - Opteron.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 4518
Q:

Which of the following is India's new rating Index developed by Ministry of Finance?

A) CECA B) CRIS
C) TIEA D) RTGS
 
Answer & Explanation Answer: B) CRIS

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 4516
Q:

India's largest telecom operator Bharti Airtel announced a partnership with __________ to provide cyber security solutions to businesses in India.

A) Symantec Corp B) Mimecast
C) Cisco D) Raytheon
 
Answer & Explanation Answer: A) Symantec Corp

Explanation:
Report Error

View Answer Report Error Discuss

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

6 4514