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

A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Because a table can have only one primary key

Report Error

View Answer Workspace Report Error Discuss

1 4576
Q:

When is International Day of Families observed  ?

A) May 13 B) May 15
C) May 16 D) May 14
 
Answer & Explanation Answer: B) May 15

Explanation:

15 May. Theme of International Day of Family 2017 is “Families, education and well-being”.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

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

How do you display current date and time in MS Excel ?

A) Time () B) Now ()
C) Date () D) Today ()
 
Answer & Explanation Answer: B) Now ()

Explanation:

To display current date and time in MS Excel, we use Now() method. 

Report Error

View Answer Report Error Discuss

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

15 4572
Q:

The Jigme Dorji National Park is located in which country  ?

A) Myanmar B) Bhutan
C) India D) Nepal
 
Answer & Explanation Answer: B) Bhutan

Explanation:

The Jigme Dorji National Park is the second-largest National Park of Bhutan. The park provides sanctuary for 37 known species of mammals including several endangered, threatened or vulnerable species, such as the takin, snow leopard, clouded leopard, Bengal tiger, bharal or Himalayan blue sheep, etc. It is also home to the Indian leopard, serow, sambar, barking deer, goral, marmot, pika and more than 300 species of birds. It is also the only park in Bhutan where the national animal (takin), flower (blue poppy), bird (raven) and tree (cypress) exist together.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk

5 4572
Q:

Synonym of 'Beautiful'?

A) Alluring B) Ugly
C) Disgusting D) Loathsome
 
Answer & Explanation Answer: A) Alluring

Explanation:

Beautiful means good looking, having pleasing personality, glamourous, charming.

Synonyms of Beautiful are handsome, attractive, alluring, cute, fair,...

 

Hence, in the given options Synonym of 'Beautiful' is Alluring.

Report Error

View Answer Report Error Discuss

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

2 4572
Q:

The Biggest cause of Foodborne Illness is

A) Poor Hygiene B) Toothpick
C) Employee snacking D) Virus
 
Answer & Explanation Answer: A) Poor Hygiene

Explanation:

The Biggest cause of Foodborne Illness is Poor Personal Hygiene.

Foodborne Illness is caused by consuming contaminated foods or beverages. Many different disease-causing microbes or pathogens can contaminate foods, so there are many different types of foodborne illnesses.

Report Error

View Answer Report Error Discuss

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

7 4571