+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. To use strcat() function, the __________ header file must be included in the program.
conio.h
math.h
string.h
stdio.h
View Answer
2. Every C program has access to which of the following files?
all of the above
stderr
stdin
stdout
View Answer
3. Which of the following statements about functions is false?
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
A function can have multiple return statements with different return values
View Answer
4. A __________ group together a number of data items, which need not be of the same data type.
Structure
Block
Array
Variable
View Answer
5. Calling one function from within another is said to be __________ of function calls.
Inner
Outer
Nesting
None of them
View Answer
6. which of the following function can be used to deallocated memory when it is no longer needed?
Calloc()
Malloc()
None of these
Free()
View Answer
7. Which function would you use to convert 1.98 to 1?
ceil()
fabs()
abs()
floor()
View Answer
8. What is the length null string?
3
1
4
0
View Answer
9. To use strcat() function, the ________ header file must be included in the program.
iostream.h
string.h
conio.h
stdio.h
View Answer
10. How much memory is required to store a value of type double?
4 bytes
10 bytes
8 bytes
6 bytes
View Answer