C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 None of These 11 10 9 None of These 11 10 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 can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char float real double int char float real double int ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 III and IV II and III I and II I, II and III I, III and IV III and IV II and III I and II I, II and III I, III and IV ANSWER DOWNLOAD EXAMIANS APP