What is the output of the following code? #include "stdio.h" main() { int i; for(i=0;i<5;i++) { static int a=0; int b=0; a++; b++; printf("%d %d",a,b); } 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; }