C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65488 65474, 65488 65474, 65476 None of these 65480, 65496 65480, 65488 65474, 65488 65474, 65476 None of these 65480, 65496 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=VEDA y=AMVEDA y=MVEDA y=EDA y=EXAMIANS y=VEDA y=AMVEDA y=MVEDA y=EDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 12 11 15 10 12 11 15 ANSWER DOWNLOAD EXAMIANS APP