What will be the output of the following program? #include <stdio.h> int main() { unsigned int a =10, a=~a; printf(" %d\n", a); return 0; } code example
Example 1: #include int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }
#include <stdio.h>
int main()
{
int x=(20||40)&&(10);
printf("%d",x);
return 0;
}
Example 2: #include int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }
#include <stdio.h> int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }