Safcode Institute by Sir Safder
+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Which of the following statements about functions is false?
The main() function can be called recursively
A function can have multiple return statements with different return values
The maximum number of arguments a function can take is 128
Functions cannot return more than one value at a time
View Answer
2. How much memory is required to store a value of type double?
6 bytes
8 bytes
4 bytes
10 bytes
View Answer
3. Which function would you use to convert 1.98 to 1?
ceil()
fabs()
abs()
floor()
View Answer
4. What is the length null string?
0
4
1
3
View Answer
5. What is the default return type of a function?
float
char
void
int
View Answer
6. Which of the following is not a reserved word in C langauge?
for
do
switch
goto
View Answer
7. Every C program has access to which of the following files?
stdin
stderr
stdout
all of the above
View Answer
8. A variable declared with ____ modifier can retain its value during function calls.
static
volatile
extern
const
View Answer
9. which of the following function can be used to deallocated memory when it is no longer needed?
None of these
Free()
Malloc()
Calloc()
View Answer
10. To use strcat() function, the __________ header file must be included in the program.
math.h
stdio.h
string.h
conio.h
View Answer