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;
}
Discussion:
32 comments Page 3 of 4.
Diya said:
1 decade ago
What does this * in 67*-1 mean?
Mayank said:
8 years ago
Very nice explanation @Vallabh.
Jitendra said:
1 decade ago
@Tarun is absolutly right.
Jayant said:
8 years ago
You are right @Vallabh.
Alok said:
9 years ago
@Vallabh is correct.
Aminul said:
8 years ago
Yes, Right @Venkat.
Mah said:
1 decade ago
Thank you hariraj.
Anil said:
1 decade ago
Hariraj is right.
Swati said:
1 decade ago
Vallabh is right.
Rhana said:
1 decade ago
Hariraj is right.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers