+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. Which of the following statements about functions is false?
Functions cannot return more than one value at a time
The main() function can be called recursively
The maximum number of arguments a function can take is 128
A function can have multiple return statements with different return values
View Answer
2. Which of the following has a global scope in the program?
Constants
Formal parameters
Macros
Local variables
View Answer
3. Every C program has access to which of the following files?
stderr
stdout
all of the above
stdin
View Answer
4. What is the default return type of a function?
char
void
int
float
View Answer
5. which of the following function can be used to deallocated memory when it is no longer needed?
Calloc()
Free()
Malloc()
None of these
View Answer
6. How much memory is required to store a value of type double?
4 bytes
6 bytes
8 bytes
10 bytes
View Answer
7. What is the range of double data type for a 16-bit compiler?
-1.7e-328 to +1.7e-328
-1.7e-348 to +1.7e-348
-1.7e-328 to +1.7e-328
-1.7e-308 to +1.7e-308
View Answer
8. What is the length null string?
1
0
3
4
View Answer
9. Calling one function from within another is said to be __________ of function calls.
None of them
Nesting
Inner
Outer
View Answer
10. A __________ group together a number of data items, which need not be of the same data type.
Variable
Structure
Block
Array
View Answer