C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} Garbage Value 000 333 444 433 Garbage Value 000 333 444 433 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 None of these 216 215 216 – 1 215 – 1 None of these 216 215 216 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 1 1 2 3 0 1 2 3 1 1 2 2 0 1 2 2 None of these 1 1 2 3 0 1 2 3 1 1 2 2 0 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 15 10 None of these 30 50 15 10 None of these 30 50 ANSWER DOWNLOAD EXAMIANS APP