++92 313 8389893
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 has a global scope in the program?
Local variables
Constants
Formal parameters
Macros
View Answer
2. Every C program has access to which of the following files?
stdout
all of the above
stdin
stderr
View Answer
3. How much memory is required to store a value of type double?
4 bytes
6 bytes
10 bytes
8 bytes
View Answer
4. which of the following function can be used to deallocated memory when it is no longer needed?
Calloc()
Malloc()
Free()
None of these
View Answer
5. Which of the following is not a reserved word in C langauge?
switch
for
goto
do
View Answer
6. 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
A function can have multiple return statements with different return values
The maximum number of arguments a function can take is 128
View Answer
7. Calling one function from within another is said to be __________ of function calls.
Nesting
Inner
Outer
None of them
View Answer
8. To use strcat() function, the ________ header file must be included in the program.
string.h
conio.h
stdio.h
iostream.h
View Answer
9. Which function would you use to convert 1.98 to 1?
ceil()
floor()
fabs()
abs()
View Answer
10. Who developed C languages?
Von Neuman
peter Norton
Ken Thomson
Dennis Ritchie
View Answer