You are on page 1of 2

#include "stdio.

h"
int main()
{
int x, y = 5, z = 5;
x = y == z;
printf("%d", x);

getchar();
return 0;
}
(A) 0
(B) 1
(C) 5
(D) Compiler Error

#include <stdio.h>
int main()
{
int i = 1, 2, 3;

printf("%d", i);

return 0;
}

(A) 1
(B) 3
(C) Garbage value
(D) Compile time error

#include <stdio.h>

int main()
{
int i = (1, 2, 3);

printf("%d", i);

return 0;
}

(A) 1
(B) 3
(C) Garbage value
(D) Compile time error

#include <stdio.h>

int main()
{
int i;

i = 1, 2, 3;

i). } (A) 1 (B) 3 (C) Garbage value (D) Compile time error . printf("%d". return 0.