C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 0 -1 1 33 Compilation Error 0 -1 1 33 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} absiha asiha hai haasi absiha asiha hai haasi ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It cannot be applied to an expression It associates from the right The operand can come before or after the operator It is a unary operator All of these It cannot be applied to an expression It associates from the right The operand can come before or after the operator It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP