C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 0 33 1 -1 Compilation Error 0 33 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Some address will be printed Error None of These make an infinite loop Some address will be printed Error None of These make an infinite loop 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;} None of these 10 6 0 1 None of these 10 6 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 0 10..10 10..50 Error 0 10..10 10..50 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 III and IV I, II and III II and III I and II I, III and IV III and IV I, II and III II and III I and II I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 2 0 None of These Garbage Value 2 0 ANSWER DOWNLOAD EXAMIANS APP