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. Which of the following has a global scope in the program?
Formal parameters
Local variables
Macros
Constants
View Answer
2. How much memory is required to store a value of type double?
8 bytes
6 bytes
10 bytes
4 bytes
View Answer
3. Pointers can be used to achieve?
call by procedure
call by reference
call by name
call by function
View Answer
4. ________ form a base of any C program.
All of them
Instruction
Code of block
Struct
View Answer
5. What is the range of double data type for a 16-bit compiler?
-1.7e-328 to +1.7e-328
-1.7e-308 to +1.7e-308
-1.7e-328 to +1.7e-328
-1.7e-348 to +1.7e-348
View Answer
6. which of the following function can be used to deallocated memory when it is no longer needed?
Free()
None of these
Malloc()
Calloc()
View Answer
7. A variable declared with ____ modifier can retain its value during function calls.
static
extern
volatile
const
View Answer
8. What is the default return type of a function?
void
char
float
int
View Answer
9. Which of the following is not a reserved word in C langauge?
goto
do
for
switch
View Answer
10. To use strcat() function, the __________ header file must be included in the program.
string.h
conio.h
math.h
stdio.h
View Answer