+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. A variable declared with ____ modifier can retain its value during function calls.
extern
volatile
static
const
View Answer
2. Which of the following functions can be used to increase the size of dynamically allocated array?
realloc()
malloc()
memadjust()
calloc()
View Answer
3. To use strcat() function, the ________ header file must be included in the program.
stdio.h
iostream.h
conio.h
string.h
View Answer
4. What is the range of double data type for a 16-bit compiler?
-1.7e-348 to +1.7e-348
-1.7e-328 to +1.7e-328
-1.7e-328 to +1.7e-328
-1.7e-308 to +1.7e-308
View Answer
5. Which of the following is not a reserved word in C langauge?
switch
for
goto
do
View Answer
6. What is the default return type of a function?
int
float
void
char
View Answer
7. Which of the following is not a storage class?
Auto
Extern
Static
Register
View Answer
8. Which operator is used to check if a particular bit is on or off?
&
!
||
%
View Answer
9. To use strcat() function, the __________ header file must be included in the program.
stdio.h
string.h
math.h
conio.h
View Answer
10. A __________ group together a number of data items, which need not be of the same data type.
Structure
Array
Variable
Block
View Answer