C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 3 2 0 1 Garbage Value 3 2 0 1 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;} -1 20 17 16 19 -1 20 17 16 19 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 Error h Garbage Value hi hi followed by garbage value Error h Garbage Value 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 4 5 6 7 Syntax error 1 2 3 4 Runtime error 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope No scope at all Function scope File scope Block scope Local scope No scope at all Function scope File scope Block scope ANSWER DOWNLOAD EXAMIANS APP