C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 15 12 11 10 15 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these 6 5 0 Garbage Value None of these 6 5 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is None of these. call by value call by reference call by value result None of these. call by value call by reference call by value result ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The actual values read for each argument. 1 0 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 1 0 The number of successful read input values. ASCII value of the input read. ANSWER DOWNLOAD EXAMIANS APP