C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 0 33 Compilation Error -1 1 0 33 Compilation Error -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 Program do no return a value. 2 1 -1 Program do no return a value. 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1 None of these 2, 4 1, 4 2, 3 1 None of these 2, 4 1, 4 2, 3 ANSWER DOWNLOAD EXAMIANS APP