Examveda
Examveda

The C statement ""if (a == 1 || b == 2) {}"" can be re-written as . . . . . . . .

A. if (a == 1)
if (b == 2){}

B. if (a == 1){}
if (b == 2){}

C. if (a == 1){}
else if (b == 2){}

D. none of the mentioned

Answer: Option D


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures