C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 10 14 0 1 None of these 10 14 0 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() puts() gets() printf() None of these scanf() puts() gets() printf() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as Data processing language General purpose language System programming language None of these Data processing language General purpose language System programming language None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A Error c 65 A Error c 65 ANSWER DOWNLOAD EXAMIANS APP