Đỗ Thu Hiền
New member
#include <stdio.h>
#include <conio.h>
void main()
{
int i = 3, j = 2, k = -1, m;
m = ++i||++j&&++k;
printf("%d %d %d %d", i, j, k, m);
getch();
}[/CODE]
What will be the output of the program?
A. 4 2 -1 1
B. 4 3 0 1
C. 3 2 -1 1
#include <conio.h>
void main()
{
int i = 3, j = 2, k = -1, m;
m = ++i||++j&&++k;
printf("%d %d %d %d", i, j, k, m);
getch();
}[/CODE]
What will be the output of the program?
A. 4 2 -1 1
B. 4 3 0 1
C. 3 2 -1 1
Chọn A là đáp án đúng