C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 Compilation Error -1 1 0 33 Compilation Error -1 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope Local scope No scope at all Block scope File scope Function scope Local scope No scope at all Block scope File scope 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 10 11 12 13 14 9 10 11 12 13 Infinite loop 10 11 12 13 14 15 None of these 10 11 12 13 14 9 10 11 12 13 Infinite loop 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile Garbage value 0 0 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile Garbage value 0 0 0 Garbage vlaue Garbage Value 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 2 Compiler Error 20 Linker Error 2 Compiler Error 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() strnstr() laststr() None of these strstr() strrchr() strnstr() laststr() None of these strstr() ANSWER DOWNLOAD EXAMIANS APP