What will be the output of the following program? [code] #include<stdio.h> int main() { int i = 10; printf("%d", ++(-i));

Ngô Quốc Huy

New member
What will be the output of the following program?
Code:
#include<stdio.h>
int main()
{
    int i = 10;
    printf("%d", ++(-i));
    return 0;
}
A. 11
B. 10
C. -9
D. None of the mentioned
 

Tìm kiếm

Back
Top