C Quiz
1)What is the output of following program?
1 2 3 4 5 |
main() { int x = -10; printf("%dn", ~x+1); } |
a)-11 b)-9 c)10 d)Size of the integer is required to Ans:c 2)What is the output of following program?
1 2 3 4 |
main() { printf("%cn", '1' + 1); } |
a)ASCII value of […]