kaldin

  • Login

C Programming


1) What will be the output of the program ?

#include<stdio.h>

int main()
{
    int i=4, j=8;
    printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j);
    return 0;
}
  • A)

  • B)

  • C)

  • D)

Next
Show Answer:
Show Answer


More Question
What will be the output of the program #includestdio.hint main() char str[] = Nagpur; str[0]='K'; printf(s, , str); str = Kanpur; printf(s, str+1); return 0;
Which of the statements is correct about the program #includestdio.hint main() float a=3.14; char j; j = (char)&a; printf(d\n, j); return 0;
How will you free the allocated memory
How many times the program will print FutureC #includestdio.hint main() printf(FutureC); main(); return 0;
What will be the output of the program #includestdio.hint main() int i=2; printf(d, d\n, ++i, ++i); return 0;