C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 33 -1 0 Compilation Error 1 33 -1 0 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 None of These Garbage Value 10 1 None of These Garbage Value 10 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. 2, 4 1, 4 None of these 2, 3 1 2, 4 1, 4 None of these 2, 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error Syntax error 6 No output 8 Runtime error Syntax error 6 No output 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns true 1 None of these -1 0 true 1 None of these -1 0 ANSWER DOWNLOAD EXAMIANS APP