C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash 10 Undefined behavior Compiler time error Segmentation fault/runtime crash 10 Undefined behavior Compiler time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=2 Compiler Error sizeof(i)=1 None of These sizeof(i)=2 Compiler Error sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? ++ && + || % ++ && + || % ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 None of these 3 8 7 3 8 3 3 7 None of these 3 8 7 3 8 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} Garbage Value None of these 6 0 5 Garbage Value None of these 6 0 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * % + / None of these * % + / None of these ANSWER DOWNLOAD EXAMIANS APP