C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} None of these. 10 0.000000 Error None of these. 10 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These will print Hello World Compiler Error Can't Say None of These will print Hello World Compiler Error Can't Say ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These %d\n Error 300 None of These %d\n Error 300 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 2 -1 Program do no return a value. 1 2 -1 Program do no return a value. 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] None of these arr{7} arr[7] arr{6} arr[6] None of these arr{7} arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error Syntax error 8 No output 6 Runtime error Syntax error 8 No output 6 ANSWER DOWNLOAD EXAMIANS APP