Question 1 of 25
Hints left: 3
Q1
Which operator is used for logical NOT in C?
Q2
What will be the output of the following C code? errno = 0; y = sqrt(2); if(errno == EDOM) printf("Invalid value\n"); else printf("Valid value\n");
Q3
What is the result of the expression 7 / 2 in C?
Q4
. . . . . . . . is reported on a domain error.
Q5
What does the sizeof operator return in C?
Q6
What is the result of the expression 10 - 5 * 2 in C?
Q7
Which operator is used for modulus division in C?
Q8
What is the use of function char *strchr(ch, c)?
Q9
What is the result of the expression 10 / 0 in C?
Q10
Which operator is used for assignment in C?
Q11
Which operator is used to perform a bitwise AND operation in C?
Q12
What is the result of the expression 8 / 3 in C?
Q13
Use . . . . . . . . to determine the null-terminated message string that corresponds to the error code errcode.
Q14
What is the result of the expression 5 + 7 * 2 in C?
Q15
Which operator is used to access the value stored at a pointer address in C?
Q16
What is the result of the expression (6 - 2) * (1 + 2) in C?
Q17
What is the result of the expression 3 * (4 + 2) in C?
Q18
What is the result of the expression 5 % 3 in C?
Q19
Which operator is used for logical OR in C?
Q20
What is the order of precedence of the arithmetic operators in C?
Q21
Which operator is used for equality comparison in C?
Q22
What will be returned in the following C code? size- t strlen(const char *s) const char *sc; for(sc = s; *sc!= ' \ O ' ; ++sc) return(sc - s) ;
Q23
What is the result of the expression 5 / 2 in C?
Q24
What does the ++ operator do in C when applied to a variable?
Q25
What does the following function returns void *memmove(void *s1,const void s2, size_t n);?