#include <stdio.h> #include <conio.h> void main() { int x = 12, y = 7, z = 2; z = x != 4 || y == 2; printf("z = %d", z); getch(); }[/CODE] What

#include <stdio.h>
#include <conio.h>
void main()
{
int x = 12, y = 7, z = 2;
z = x != 4 || y == 2;
printf("z = %d", z);
getch();
}[/CODE]
What will be the output of the program?
A. z = 0
B. z = 1
C. z = 4
D. z = 3
Chọn B là đáp án đúng
 

Tìm kiếm

Back
Top