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

Which is faster Light or Sound?

A) Light B) Sound
C) Both are same D) Can't be determined
 
Answer & Explanation Answer: A) Light

Explanation:

Light travels Faster than Sound.

 

Light :

1. Light doesn't require a medium to travel.

2. It travels in the vaccum with the speed of 1,86,000 miles per second.

 

Sound:

1. Sound rquire a medium.

2. It travels in the Air with the speed of 340 meters per second.

3. It travels Faster in Water than in Air.

4. It travels Faster in Steel than in Water. 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank PO , Database Administration , IT Trainer

9 3554
Q:

Daydreaming, Meditation, Intoxication, Sleep and Hypnosis are all types of

A) waking consciousness B) self-absorption
C) altered states of consciousness D) self-awareness
 
Answer & Explanation Answer: C) altered states of consciousness

Explanation:

Consciousness is the state or quality of awareness, or, of being aware of an external object or something within oneself.

  

Day dreaming, Meditation, Intoxication, Sleep and Hypnosis are all types of altered states of consciousness . In al these states, a person's state of conscious is altered but he has consciousness.

 

altered_states_of_consciousness1532501889.jpg image

Report Error

View Answer Report Error Discuss

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

2 3553
Q:

What is the general formula of alkenes?

 

A) CnH2n B) CnH2n+2
C) CnH2n-2 D) CnH2n-1
 
Answer & Explanation Answer: A) CnH2n

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

2 3553
Q:

Who of the following is a football player?

A) Fernando Alonso B) Kimi Raikkonen
C) Lewis Hamilton D) Nicolas Anelka
 
Answer & Explanation Answer: D) Nicolas Anelka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

14 3552
Q:

I act like a cat I look like a cat Yet I am not a cat. What am I?

Answer

A Kitten.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: Bank Exams

11 3552
Q:

What is the capital of Hungary?

A) Budapest B) Reykjavik
C) Santo Domingo D) None
 
Answer & Explanation Answer: A) Budapest

Explanation:

Budapest is the capital of Hungary

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

13 3551
Q:

A bond formed by the transfer of electrons between atoms of the elements is called

A) Ionic bond B) Covalent bond
C) Co-ordinate bond D) Hydrogen bond
 
Answer & Explanation Answer: A) Ionic bond

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

5 3551