+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. What is the default return type of a function?
char
void
float
int
View Answer
2. Which of the following is not a reserved word in C langauge?
do
for
goto
switch
View Answer
3. A __________ group together a number of data items, which need not be of the same data type.
Structure
Array
Block
Variable
View Answer
4. To use strcat() function, the __________ header file must be included in the program.
stdio.h
conio.h
string.h
math.h
View Answer
5. Every C program has access to which of the following files?
stdout
stdin
all of the above
stderr
View Answer
6. Which of the following has a global scope in the program?
Local variables
Constants
Macros
Formal parameters
View Answer
7. which of the following function can be used to deallocated memory when it is no longer needed?
Calloc()
None of these
Free()
Malloc()
View Answer
8. Which of the following statements about functions is false?
The main() function can be called recursively
The maximum number of arguments a function can take is 128
Functions cannot return more than one value at a time
A function can have multiple return statements with different return values
View Answer
9. Pointers can be used to achieve?
call by function
call by name
call by reference
call by procedure
View Answer
10. Calling one function from within another is said to be __________ of function calls.
Outer
Nesting
Inner
None of them
View Answer