++92 313 8389893
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?
Local variables
Macros
Constants
Formal parameters
View Answer
2. Which of the following is not a storage class?
Static
Register
Extern
Auto
View Answer
3. A variable declared with ____ modifier can retain its value during function calls.
volatile
extern
static
const
View Answer
4. Calling one function from within another is said to be __________ of function calls.
None of them
Nesting
Inner
Outer
View Answer
5. Which function would you use to convert 1.98 to 1?
fabs()
abs()
ceil()
floor()
View Answer
6. What is the length null string?
1
3
4
0
View Answer
7. Which of the following is not a reserved word in C langauge?
for
switch
goto
do
View Answer
8. What is the default return type of a function?
int
void
char
float
View Answer
9. Pointers can be used to achieve?
call by procedure
call by name
call by reference
call by function
View Answer
10. To use strcat() function, the ________ header file must be included in the program.
iostream.h
stdio.h
string.h
conio.h
View Answer