C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 Error c A 65 Error c ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns true 0 None of these 1 -1 true 0 None of these 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 216 215 None of these 215 – 1 216 – 1 216 215 None of these 215 – 1 ANSWER DOWNLOAD EXAMIANS APP
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)++;} Compilation error a[0] = 2 a[0] = 3 a[1] = 2 a[1] = 3 Compilation error a[0] = 2 a[0] = 3 a[1] = 2 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these *float ptr; ANSWER DOWNLOAD EXAMIANS APP