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
The first argument to be supplied at command-line must always be count of total arguments.
What will be the output of the program #includestdio.hint main() char c=48; int i, mask=01; for(i=1; i=5; i++) printf(c, cmask); mask = mask1; return 0;
Which of the following statements are correct about an array 1: The array int num[26]; can store 26 elements.2: The expression num[1] designates the very first element in the array.3: It is necessary to initialize the array at the time of declaration.4: The declaration num[SIZE] is allowed if SIZE is a macro.
What will be the output of the program #includestdio.hint main() int i=2; printf(d, d\n, ++i, ++i); return 0;
How many times the program will print FutureC #includestdio.hint main() printf(FutureC); main(); return 0;