+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. Calling one function from within another is said to be __________ of function calls.
None of them
Inner
Nesting
Outer
View Answer
2. What is the default return type of a function?
int
float
void
char
View Answer
3. To use strcat() function, the ________ header file must be included in the program.
conio.h
string.h
stdio.h
iostream.h
View Answer
4. A __________ group together a number of data items, which need not be of the same data type.
Array
Structure
Variable
Block
View Answer
5. Which of the following has a global scope in the program?
Constants
Macros
Formal parameters
Local variables
View Answer
6. which of the following function can be used to deallocated memory when it is no longer needed?
Malloc()
Calloc()
None of these
Free()
View Answer
7. ________ form a base of any C program.
Code of block
Instruction
Struct
All of them
View Answer
8. A variable declared with ____ modifier can retain its value during function calls.
extern
const
static
volatile
View Answer
9. Which function would you use to convert 1.98 to 1?
floor()
abs()
ceil()
fabs()
View Answer
10. To use strcat() function, the __________ header file must be included in the program.
conio.h
math.h
string.h
stdio.h
View Answer