C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 0 33 1 Compilation Error -1 0 33 1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello None of these. Some address will be printed H Hello None of these. Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[0] = 2 Compilation error a[0] = 3 a[1] = 2 a[1] = 3 a[0] = 2 Compilation error a[0] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 5 Compiler Error 7 6 0 5 Compiler Error 7 6 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 5 100 100 100 100 100 0 100 5 0 20 5 0 100 100 5 100 100 100 100 100 0 100 5 0 20 5 0 100 ANSWER DOWNLOAD EXAMIANS APP