C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 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 433 333 000 444 Garbage Value 433 333 000 444 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; float *ptr; None of these float ptr; *float ptr; float *ptr; None of these float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi Error h ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Garbage value 6 Error 3 Garbage value 6 Error ANSWER DOWNLOAD EXAMIANS APP