C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 33 -1 1 Compilation Error 0 33 -1 1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 0 100 1 Error 0 100 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these 9 10 11 12 13 10 11 12 13 14 15 Infinite loop 10 11 12 13 14 None of these 9 10 11 12 13 10 11 12 13 14 15 Infinite loop 10 11 12 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 15 -5 1 10 30 15 -5 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 0 None of these 1 10 6 0 None of these 1 10 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error None of These sizeof(i)=2 sizeof(i)=1 Compiler Error None of These sizeof(i)=2 sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP