C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 2 a[0] = 3 a[1] = 3 Compilation error a[0] = 2 a[1] = 2 a[0] = 3 a[1] = 3 Compilation error a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these puts() scanf() gets() printf() None of these puts() scanf() gets() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() printf() main() getch() start() system() printf() main() getch() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 10 11 12 13 14 15 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 None of These 0 Garbage Value 2 None of These 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP