++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?
Constants
Macros
Formal parameters
Local variables
View Answer
2. A variable declared with ____ modifier can retain its value during function calls.
const
static
volatile
extern
View Answer
3. To use strcat() function, the __________ header file must be included in the program.
conio.h
string.h
math.h
stdio.h
View Answer
4. A __________ group together a number of data items, which need not be of the same data type.
Array
Variable
Block
Structure
View Answer
5. What is the range of double data type for a 16-bit compiler?
-1.7e-308 to +1.7e-308
-1.7e-328 to +1.7e-328
-1.7e-328 to +1.7e-328
-1.7e-348 to +1.7e-348
View Answer
6. What is the length null string?
4
3
1
0
View Answer
7. which of the following function can be used to deallocated memory when it is no longer needed?
Malloc()
Free()
Calloc()
None of these
View Answer
8. Calling one function from within another is said to be __________ of function calls.
Inner
None of them
Outer
Nesting
View Answer
9. What is the default return type of a function?
int
float
char
void
View Answer
10. Every C program has access to which of the following files?
stdin
all of the above
stdout
stderr
View Answer