😈😈C PROGRAMMING QUIZ -2😈😈

Which of the following special symbol allowed in a variable name?
* (asterisk)
| (pipeline)
- (hyphen)
_ (underscore)
How would you round off a value from 1.66 to 2.0?
ceil(1.66)
floor(1.66)
roundup(1.66)
roundto(1.66)
Which of the following correctly shows the hierarchy of arithmetic operations in C?
/ + * -
* - / +
+ - / *
/ * + -
Which of the following is the correct order if calling functions in the below code? a = f1(23, 14) * f2(12/4) + f3();
f1, f2, f3
f3, f2, f1
Order may vary from compiler to compiler
None of above
What is (void*)0?
Representation of NULL pointer
Representation of void pointer
Error
None of above
A pointer is
A keyword used to create variables
A variable that stores address of an instruction
A variable that stores address of other variable
All of the above
If the two strings are identical, then strcmp() function returns
-1
1
0
NULL
How will you print \n on the screen?
printf("\n");
echo "\\n";
printf('\n');
printf("\\n");
Which of the following function is used to find the first occurrence of a given string in another string?
strchr()
strrchr()
strstr()
strnset()
Input/output function prototypes and macros are defined in which header file?
conio.h
stdlib.h
stdio.h
dos.h
0
{"name":"😈😈C PROGRAMMING QUIZ -2😈😈", "url":"https://www.quiz-maker.com/Q3IZ65QGE","txt":"Which of the following special symbol allowed in a variable name?, How would you round off a value from 1.66 to 2.0?, Which of the following correctly shows the hierarchy of arithmetic operations in C?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker