+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. To use strcat() function, the __________ header file must be included in the program.
math.h
string.h
conio.h
stdio.h
View Answer
2. What is the length null string?
0
1
3
4
View Answer
3. Which of the following has a global scope in the program?
Constants
Formal parameters
Local variables
Macros
View Answer
4. ________ form a base of any C program.
Struct
All of them
Instruction
Code of block
View Answer
5. Pointers can be used to achieve?
call by name
call by reference
call by procedure
call by function
View Answer
6. How much memory is required to store a value of type double?
4 bytes
8 bytes
6 bytes
10 bytes
View Answer
7. Every C program has access to which of the following files?
stderr
stdin
all of the above
stdout
View Answer
8. Which function would you use to convert 1.98 to 1?
floor()
fabs()
abs()
ceil()
View Answer
9. What is the default return type of a function?
float
char
int
void
View Answer
10. Which operator is used to check if a particular bit is on or off?
||
%
!
&
View Answer