Questions

Q:

If I use the following printf() to print a long int why I am not warned about the type mismatch?

printf ("%d",num );

Answer

When a function accepts a variable number of arguments , its prototype cannot provide any information about the number of arguments and type of those variable arguments. Hence the compiler cannot warn about the mismatches. The programmer must make sure that arguments match or must manually insert explicit typecast.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3782
Q:

Lobar Pneumonia refers to a lung infection in which it affects

A) large part of the lobe or lung B) small segment of the lung
C) both lungs D) None of the above
 
Answer & Explanation Answer: A) large part of the lobe or lung

Explanation:

Pneumonia is a lung infection which is usually caused by a bacteria or virus or fungi in one segment or the whole lung or both lungs. Lobar Pneumonia refers to a lung infection in which it affects the large segment of the lung or lobe.

Lobar_Pneumonia_refers_to_a_lung_infection_in_which_it_affects1552046755.png image

Report Error

View Answer Report Error Discuss

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

1 3782
Q:

Dimond is

A) an element B) a compound
C) a mixture D) a liquid
 
Answer & Explanation Answer: A) an element

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3781
Q:

What kind of creature is the heart on its head?

A) Cockroach B) Snail
C) Shrimps D) Honey bee
 
Answer & Explanation Answer: C) Shrimps

Explanation:

A Shrimps heart is located on its head.

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

8 3781
Q:

How many times the following program would print 'Jamboree'?

main()

{

     printf ( "\nJamboree");

     main ();

}

Answer

Till the stack doesn't overflow

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 3780
Q:

The Famous personality best known for the instrument Tabla  ?

A) Bundu Khan B) Zakir Hussain
C) P. Mani Iyer D) Ravi Sankar
 
Answer & Explanation Answer: B) Zakir Hussain

Explanation:

Zakir Hussain is best known for the instrument Tabla.

Bundu Khan is known for Sarangi

P. Mani Iyer is known for Mridangam

Ravi Sankar is known for Sitar

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

4 3780
Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

5 3780
Q:

A restrictive clause is one that

A) usually occurs at the beginning of a sentence B) should be set off by commas
C) limits the meaning of the word it describes D) functions as an adverb
 
Answer & Explanation Answer: C) limits the meaning of the word it describes

Explanation:

A restrictive clause is one that limits the meaning of the word it describes.

For example :: 

The girl who lives next door is beautiful.

This restrictive clause limits "the girl" to say it's specifically the one next door.

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 , Database Administration , IT Trainer

1 3780