C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 Compilation Error 1 0 -1 33 Compilation Error 1 0 -1 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);} Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 1 3 0 2 1 3 0 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 4 5 6 7 8 9 None of these 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and III II and III I and II II and IV III and IV I and III II and III I and II II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP