Safcode Institute by Sir Safder
+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 Development
Amazon Virtual Assistant
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?
float
int
char
void
View Answer
2. What is the length null string?
1
3
4
0
View Answer
3. To use strcat() function, the ________ header file must be included in the program.
string.h
stdio.h
conio.h
iostream.h
View Answer
4. Who developed C languages?
peter Norton
Dennis Ritchie
Ken Thomson
Von Neuman
View Answer
5. which of the following function can be used to deallocated memory when it is no longer needed?
None of these
Free()
Calloc()
Malloc()
View Answer
6. A variable declared with ____ modifier can retain its value during function calls.
const
static
volatile
extern
View Answer
7. Every C program has access to which of the following files?
all of the above
stderr
stdin
stdout
View Answer
8. Which of the following is not a storage class?
Auto
Register
Extern
Static
View Answer
9. Which of the following has a global scope in the program?
Macros
Local variables
Constants
Formal parameters
View Answer
10. How much memory is required to store a value of type double?
8 bytes
4 bytes
10 bytes
6 bytes
View Answer