C Programming - Input / Output - Discussion

Discussion Forum : Input / Output - Find Output of Program (Q.No. 6)
6.
What will be the output of the program ?
#include<stdio.h>

int main()
{
    printf("%c\n", ~('C'*-1));
    return 0;
}
A
B
C
D
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
32 comments Page 4 of 4.

Nita said:   1 decade ago
Hariraj is right.

Pallavi said:   8 years ago
Agree @Venkat.


Post your comments here:

Your comments will be displayed after verification.