What is the output of the following program?


Loading

โœช Choose the correct option.

What is the output of the following program?


void main()

{

int x,y, z;

x=2; y=1; z = 1;

if(x > y + z)

printf("Hello!
");

else if (x < y+ z)

printf ("Hi!
");

else

printf("Hey!
");

}

A. Hi!
B. Hey!
C. Hello!
D. None of these