C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 5 6 11 6 12 7 6 6 6 7 5 6 11 6 12 7 6 6 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello None of these. Some address will be printed H Hello None of these. Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 1 Compilation Error 0 -1 33 1 Compilation Error 0 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Conditional operator Comma operator Assignment operator Division operator Unary-operator Conditional operator Comma operator Assignment operator Division operator Unary-operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? The operand can come before or after the operator It is a unary operator All of these It associates from the right It cannot be applied to an expression The operand can come before or after the operator It is a unary operator All of these It associates from the right It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP