+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
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
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 function can be used to deallocated memory when it is no longer needed?
Calloc()
Malloc()
Free()
None of these
View Answer
2. Which operator is used to check if a particular bit is on or off?
!
%
&
||
View Answer
3. Which of the following functions can be used to increase the size of dynamically allocated array?
memadjust()
realloc()
malloc()
calloc()
View Answer
4. To use strcat() function, the ________ header file must be included in the program.
string.h
stdio.h
iostream.h
conio.h
View Answer
5. What is the default return type of a function?
void
char
int
float
View Answer
6. Which of the following is not a reserved word in C langauge?
switch
do
goto
for
View Answer
7. Calling one function from within another is said to be __________ of function calls.
Inner
Outer
Nesting
None of them
View Answer
8. Which function would you use to convert 1.98 to 1?
abs()
fabs()
ceil()
floor()
View Answer
9. Pointers can be used to achieve?
call by function
call by name
call by procedure
call by reference
View Answer
10. Every C program has access to which of the following files?
all of the above
stdin
stderr
stdout
View Answer