C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 Infinite loop 0 Syntax error 0123456789 10 Infinite loop 0 Syntax error 0123456789 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 1 2 Garbage Value 3 0 1 2 Garbage Value 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error garbage values 0 0 0 1 1 1 Error garbage values 0 0 0 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 A Error c 65 A Error c ANSWER DOWNLOAD EXAMIANS APP