kaldin

  • Login

C Programming


1) Will the program compile in Turbo C?

#include<stdio.h>
int main()
{
    int a=10, *j;
    void *k;
    j=k=&a;
    j++;
    k++;
    printf("%u %u\n", j, k);
    return 0;
}
  • A)

  • B)

  • C)

  • D)

Next
Show Answer:
Show Answer


More Question
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 many times the program will print FutureC #includestdio.hint main() printf(FutureC); main(); return 0;
The library function used to find the last occurrence of a character in a string is
The first argument to be supplied at command-line must always be count of total arguments.
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;