C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 12 10 15 11 12 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 64 4 16 None of These 64 4 16 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. string stderr Data file stdin no such function in 'C'. string stderr Data file stdin ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. NOITANIMAXE C C NOITANIMAXE Syntax error No output at all. NOITANIMAXE C C NOITANIMAXE Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 6 Garbage value 3 Error 6 Garbage value 3 ANSWER DOWNLOAD EXAMIANS APP