C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 0.000000 10 None of these. Error 0.000000 10 None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. 2 1 -1 Program do no return a value. 2 1 -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)++;} a[0] = 3 a[0] = 2 Compilation error a[1] = 3 a[1] = 2 a[0] = 3 a[0] = 2 Compilation error a[1] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 None of these 1 1 2 2 1 1 2 3 0 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} Infinite Loop None of These 5 4 3 2 1 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP