Paper Tayyari

Lecture 33: Common Mistakes

MCQs, short and long questions from lecture 33.Lecture 33 ki MCQs, short aur long sawal.

2 MCQs · 2 MCQs from past papers2 MCQs · 2 MCQs past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/2
– correctsahi
1.
★ Final term Spring 2010

One of the Guidelines to avoid common mistakes is to never use --------- except for declaration

  1. A,
  2. B;
  3. C=
  4. D||

The comma operator should not be used except in declarations because it hides side effects.

2.
★ VU quiz

Comma ( , ) is very dangerous because

  1. ACompiler does not recognise this symbol
  2. BIt creates linkage problem
  3. CIt causes side effects
  4. DAll of the given options

The comma operator evaluates several expressions in one statement and hides side effects.