C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; None of these float ptr; float *ptr; *float ptr; None of these float ptr; float *ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 Infinite Loop 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Some address will be printed Hello H None of these. Some address will be printed Hello H 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 hi Garbage Value h Error hi followed by garbage value hi Garbage Value h Error 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 6 Garbage value Error 3 6 Garbage value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 10 11 None of these. 9 10 11 None of these. ANSWER DOWNLOAD EXAMIANS APP