C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 12 15 10 None of these 11 12 15 10 None of these 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? skip break None of these continue resume skip break None of these continue resume 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
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 None of These Compiler Error sizeof(i)=2 sizeof(i)=1 None of These Compiler Error sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP