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 Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value Garbage Value hi Error h hi followed by garbage value Garbage Value hi Error h ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a formal parameter Initialization is a part of definition All of these It is a declaratrion It is a formal parameter Initialization is a part of definition All of these It is a declaratrion ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 6 5 Compiler Error 0 7 6 5 Compiler Error 0 7 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); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type unsigned int Depends upon the type of the variable to which it is pointing. int float No data type unsigned int Depends upon the type of the variable to which it is pointing. int float ANSWER DOWNLOAD EXAMIANS APP