C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 -1 Compilation Error 33 0 1 -1 Compilation Error 33 0 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; } 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam\0Veda Veda None of these Exam Exam Veda Exam\0Veda Veda None of these Exam Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 5 6 4 Error 5 6 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 0 0 0 0 None of These Infinite Loop 5 4 3 2 1 0 0 0 0 None of These Infinite Loop ANSWER DOWNLOAD EXAMIANS APP