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
The library function used to find the last occurrence of a character in a string is
Which of the following statement is correct about the program #includestdio.hint main() FILE fp; char ch; int i=1; fp = fopen(myfile.c, r); while((ch=getc(fp))!=EOF) if(ch == '\n') i++; fclose(fp); return 0;
What will be the output of the program #includestdio.hint main() int i=2; printf(d, d\n, ++i, ++i); return 0;
What is the output of the program typedef struct data; int x; sdata b;sdata;
The keyword used to transfer control from a function back to the calling function is