C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 1 Compilation Error 33 -1 0 1 Compilation Error 33 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} None of These P N M None of These P N M ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello None of These H Some Address will be printed Hello None of These H Some Address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=1 x=0 x=5 x=4 Error x=1 x=0 x=5 x=4 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 Error c A 65 Error c A ANSWER DOWNLOAD EXAMIANS APP