C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 5 Compiler Error 6 Garbage Value 5 Compiler Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 Compiler Error 10 None of These 50 Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi hi followed by garbage value Garbage Value Error h hi hi followed by garbage value Garbage Value Error h ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 10 None of These 9 11 10 None of These 9 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;} 19 16 17 -1 20 19 16 17 -1 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 1 15 30 -5 10 1 15 30 -5 10 ANSWER DOWNLOAD EXAMIANS APP