What is the output for the following C code segment ?
int i;
if(printf ("0")) i=5;
else i=3;
printf(''%d'',i);

A 3

B 5

C 03

D 05

Solution

Correct Answer: Option D

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions