+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
Enroll Now
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. ________ form a base of any C program.
Code of block
All of them
Instruction
Struct
View Answer
2. Which of the following is not a reserved word in C langauge?
for
switch
goto
do
View Answer
3. Which of the following has a global scope in the program?
Local variables
Macros
Formal parameters
Constants
View Answer
4. Which of the following functions can be used to increase the size of dynamically allocated array?
malloc()
realloc()
calloc()
memadjust()
View Answer
5. Pointers can be used to achieve?
call by name
call by function
call by reference
call by procedure
View Answer
6. What is the default return type of a function?
int
void
char
float
View Answer
7. Which function would you use to convert 1.98 to 1?
abs()
ceil()
fabs()
floor()
View Answer
8. Which of the following is not a storage class?
Auto
Register
Static
Extern
View Answer
9. Calling one function from within another is said to be __________ of function calls.
Outer
Inner
None of them
Nesting
View Answer
10. To use strcat() function, the __________ header file must be included in the program.
stdio.h
conio.h
math.h
string.h
View Answer