C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 33 -1 Compilation Error 1 0 33 -1 Compilation Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these The operand can come before or after the operator It is a unary operator It associates from the right It cannot be applied to an expression All of these The operand can come before or after the operator It is a unary operator It associates from the right It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope File scope No scope at all Local scope Block scope Function scope File scope No scope at all Local scope Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 None of These 11 10 9 None of These 11 10 ANSWER DOWNLOAD EXAMIANS APP