C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 24, 50 13, 10, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 13, 10, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. Some address will be printed. None of these. Error Will make an infinite loop. Some address will be printed. None of these. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print garbage value will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these Garbage Value 5 0 6 None of these Garbage Value 5 0 6 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 None of these Infinite loop 10 11 12 13 14 10 11 12 13 14 15 9 10 11 12 13 None of these Infinite loop 10 11 12 13 14 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP