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 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 10 None of these 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 10 None of these 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Sequential Random None of these Sequential and Random Sequential Random None of these Sequential and Random 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"); } } Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP None of These 12PP345 Compiler Error 12PP None of These 12PP345 Compiler Error ANSWER DOWNLOAD EXAMIANS APP