Questions

Q:

Point out the error, if any, in the following program.

main()

{

    int i = 4, j = 2;

    switch(i)

    {

     case 1 :

       printf (''\n To err is human, to forgive is against company policy.");

        break;

      case j :

       printf (''\n if you have nothing to do, don't do it here.");

       break;

    }

}

Answer

Constant expression required in the second case, we cannot use j.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1988
Q:

During India's freedom struggle, the newspaper 'Young India' was published by

A) B.R. Ambedkar B) Subhash Chandra Bose
C) Mahatma Gandhi D) Muhammad Ali Jinnah
 
Answer & Explanation Answer: C) Mahatma Gandhi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

7 1988
Q:

Tennis rackets and ballpoint pens are

A) complementary goods B) independent goods
C) inferior goods D) substitute goods
 
Answer & Explanation Answer: B) independent goods

Explanation:

Tennis rackets and ballpoint pens are two independent goods. Since, one doesn't depend on the other.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1988
Q:

Which among the following will be a negative ion?

A) If it has more electrons than protons B) If it has more electrons than neutrons
C) If it has more protons than electrons D) If it has more protons than neutrons
 
Answer & Explanation Answer: A) If it has more electrons than protons

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 1988
Q:

The compound used in prickly-­heat powder to prevent excessive sweating is

A) Boric acid B) Phosphoric acid
C) Carbonic acid D) Sulphonic acid
 
Answer & Explanation Answer: A) Boric acid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 1988
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correctalternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

Owing to his respiratory problems the doctor has told him to refrain from smoking.

A) to not refrain from B) to refrain to
C) to refrain not from D) No improvement
 
Answer & Explanation Answer: D) No improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 1988
Q:

A sales tax is a type of

A) aggressive B) regressive
C) both A & B D) None of the above
 
Answer & Explanation Answer: B) regressive

Explanation:

Sales tax is an additional amount of money you pay based on a percentage of the selling price of goods and services that are purchased.

 

For example, if you purchase a new laptop Rs. 40000 and live in an area where the sales tax is 6%, you would pay Rs.2400 in sales tax.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1987
Q:

July 14 is celebrated every year as a national holiday in France. On this day in 1789, 

A) The member of the third estate declared themselves the National Assembly B) Workers, peasants and other non propertied classes were given political rights
C) Napoleon become the Emperor D) The fall of Bastille took place
 
Answer & Explanation Answer: D) The fall of Bastille took place

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

0 1987