kaldin

  • Login

C Programming


1) How many times the program will print "FutureC" ?

#include<stdio.h>

int main()
{
    printf("FutureC");
    main();
    return 0;
}
  • A)

  • B)

  • C)

  • D)

Next
Show Answer:
Show Answer


More Question
How many times the while loop will get executed if a short int is 2 byte wide #includestdio.hint main() int j=1; while(j = 255) printf(c d\n, j, j); j++; return 0;
The first argument to be supplied at command-line must always be count of total arguments.
Point out the error in the following program. #includestdio.h#includestdarg.hvoid varfun(int n, ...);int main() varfun(3, 7, -11.2, 0.66); return 0;void varfun(int n, ...) float ptr; int num; va_start(ptr, n); num = va_arg(ptr, int); printf(d, num);
va_list is an array that holds information needed by va_arg and va_end.
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;