Questions

Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7712
Q:

When development in economy takes place, the share of tertiary sector in National Income

A) first falls and the rises B) first rises and then falls
C) keeps on increasing D) remains constant
 
Answer & Explanation Answer: C) keeps on increasing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 7712
Q:

How many birthdays does the average person have?

Answer

Any person can have only 1 birthday i.e, the day he was born. And every year we celebrate it's anniversaries.

Report Error

View answer Workspace Report Error Discuss

9 7710
Q:

Germany signed the Armistice Treaty on ____ and World War I ended

A) January 19, 1918 B) May 30, 1918
C) November 11, 1918 D) February 15, 1918
 
Answer & Explanation Answer: C) November 11, 1918

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

20 7708
Q:

In plants, exchange of gases takes place through

A) Stomata B) Palisade tissue
C) Spongy tissue D) mid rib
 
Answer & Explanation Answer: A) Stomata

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

48 7707
Q:

Blue litmus paper is converted into red in solution of _______

A) Acid B) Base
C) Alkali D) Salt
 
Answer & Explanation Answer: A) Acid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

12 7702
Q:

Which of the following is the strongest base?

A) LiCH3 B) LiF
C) LiOH D) LiNH2
 
Answer & Explanation Answer: A) LiCH3

Explanation:

The stability of the ions is determined by the energy of the lone pairs. Carbon has the least effective nuclear charge (Zeff) and so the lone pair on the CH3− ion has the highest energy, making it the least stable ion and so the strongest base. The Zeff increases as we move across the period until we get to fluorine which has the greatest Zeff and so its lone pairs have the lowest energy, making F− the least basic ion.

 

In order of decreasing basicity they are ranked LiCH3 > LiNH2 > LiOH > LiF. We are dealing with the ions F−, OH−, NH2− and CH3− and so the factor which influences their basicity is the stability of the ion compared to its conjugate acid.

Report Error

View Answer Report Error Discuss

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

2 7695
Q:

What kind of apple isn't an apple?

A) Pineapple B) Akero apple
C) Adanac apple D) Aceymac apple
 
Answer & Explanation Answer: A) Pineapple

Explanation:

Except pineapple remaining all three are types of apples.

Pineapple is what kind of apple isn't an apple.

Report Error

View Answer Report Error Discuss

Filed Under: Logic Puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

4 7693