C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 1 -1 33 Compilation Error 0 1 -1 33 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I and II I, II and III II and III I, III and IV III and IV I and II I, II and III II and III I, III and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An operating system None of these. A compiler An Editor An operating system None of these. A compiler An Editor ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi Garbage Value h hi followed by garbage value Error hi Garbage Value h hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 2 2 3 3 3 2 4 3 4 2 2 2 3 3 3 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is laststr() strrchr() strstr() strnstr() None of these laststr() strrchr() strstr() strnstr() None of these ANSWER DOWNLOAD EXAMIANS APP