+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 functions can be used to increase the size of dynamically allocated array?
memadjust()
calloc()
realloc()
malloc()
View Answer
2. which of the following function can be used to deallocated memory when it is no longer needed?
None of these
Calloc()
Free()
Malloc()
View Answer
3. Which of the following is not a reserved word in C langauge?
do
goto
for
switch
View Answer
4. Calling one function from within another is said to be __________ of function calls.
Inner
None of them
Nesting
Outer
View Answer
5. Pointers can be used to achieve?
call by reference
call by function
call by procedure
call by name
View Answer
6. Which of the following statements about functions is false?
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
The main() function can be called recursively
View Answer
7. A variable declared with ____ modifier can retain its value during function calls.
volatile
const
static
extern
View Answer
8. Who developed C languages?
Dennis Ritchie
Von Neuman
peter Norton
Ken Thomson
View Answer
9. What is the length null string?
3
4
0
1
View Answer
10. What is the default return type of a function?
void
int
char
float
View Answer