+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. Which of the following has a global scope in the program?
Constants
Macros
Formal parameters
Local variables
View Answer
2. Which of the following functions can be used to increase the size of dynamically allocated array?
calloc()
malloc()
realloc()
memadjust()
View Answer
3. A __________ group together a number of data items, which need not be of the same data type.
Block
Structure
Variable
Array
View Answer
4. Which of the following is not a storage class?
Static
Extern
Register
Auto
View Answer
5. What is the default return type of a function?
int
char
void
float
View Answer
6. How much memory is required to store a value of type double?
10 bytes
8 bytes
6 bytes
4 bytes
View Answer
7. Which of the following is not a reserved word in C langauge?
for
switch
do
goto
View Answer
8. Every C program has access to which of the following files?
stdout
stderr
stdin
all of the above
View Answer
9. Which operator is used to check if a particular bit is on or off?
||
&
!
%
View Answer
10. To use strcat() function, the ________ header file must be included in the program.
conio.h
stdio.h
string.h
iostream.h
View Answer