C Programming and Technical Programming Program

#include
int main(){
int a=2;
a=a++ + ~++a;
printf("%d",a);
return 0;
}

Read Solution (Total 14)

C Other Question

what is the output of the following piece of code :-

#include
int main()
{
int a = 5;
printf("%d %d %d",++a,a,a++);
return 0;
}
main()
{
main();
}

A. 1
B. 0
C. Compile time error
D. Run time Error