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
What is the notation for following functions 1. int f(int a, float b) / Some code /
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 is the output of the program typedef struct data; int x; sdata b;sdata;
The library function used to find the last occurrence of a character in a string is
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;