C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 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]);} 6 5 Garbage Value 0 None of these 6 5 Garbage Value 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Syntax error 1 2 3 4 Runtime error 4 5 6 7 4 Syntax error 1 2 3 4 Runtime error 4 5 6 7 4 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 Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 -2 1 Error 2 -2 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 no error no output complier error 1 0 no error no output complier error 1 ANSWER DOWNLOAD EXAMIANS APP