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
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
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. Every C program has access to which of the following files?
stderr
stdin
all of the above
stdout
View Answer
2. ________ form a base of any C program.
Code of block
Struct
All of them
Instruction
View Answer
3. To use strcat() function, the ________ header file must be included in the program.
conio.h
iostream.h
string.h
stdio.h
View Answer
4. To use strcat() function, the __________ header file must be included in the program.
stdio.h
math.h
string.h
conio.h
View Answer
5. Which of the following statements about functions is false?
Functions cannot return more than one value at a time
The maximum number of arguments a function can take is 128
A function can have multiple return statements with different return values
The main() function can be called recursively
View Answer
6. How much memory is required to store a value of type double?
6 bytes
4 bytes
8 bytes
10 bytes
View Answer
7. What is the default return type of a function?
void
float
char
int
View Answer
8. Which of the following functions can be used to increase the size of dynamically allocated array?
memadjust()
malloc()
calloc()
realloc()
View Answer
9. A __________ group together a number of data items, which need not be of the same data type.
Block
Structure
Array
Variable
View Answer
10. Which of the following is not a reserved word in C langauge?
switch
do
for
goto
View Answer