C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value Compiler Error 5 6 Garbage Value Compiler Error 5 6 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? No output Runtime error 6 Syntax error 8 No output Runtime error 6 Syntax error 8 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]);} Garbage Value None of these 0 5 6 Garbage Value None of these 0 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope No scope at all File scope Block scope Function scope Local scope No scope at all File scope Block scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } exam is printed Compiler Error Nothing is printed XAM is printed exam is printed Compiler Error Nothing is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 19 -1 16 17 20 19 -1 16 17 ANSWER DOWNLOAD EXAMIANS APP