C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 11 15 10 12 11 15 10 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. III and IV I and II II and IV I and III II and III III and IV I and II II and IV I and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 20 100 0 100 100 100 100 5 0 100 100 5 100 5 0 20 100 0 100 100 100 100 5 0 100 100 5 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command has # as the first character need not start on the first column comes before the first executable statement need not start on a new line has # as the first character need not start on the first column comes before the first executable statement need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians exam_veda _examians examians1 1examians exam_veda _examians examians1 ANSWER DOWNLOAD EXAMIANS APP