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