C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Infinite loop 0123456789 0 10 Syntax error Infinite loop 0123456789 0 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and II I and III II and IV III and IV II and III I and II I and III II and IV III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 20 21 10 10 10 11 11 10 20 21 21 10 20 21 20 10 20 21 10 10 10 11 11 10 20 21 21 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=5 c=3 d=5 c=3 d=3 c=5 d=3 c=5 d=5 c=3 d=5 c=3 d=3 c=5 d=3 ANSWER DOWNLOAD EXAMIANS APP