+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. Calling one function from within another is said to be __________ of function calls.
Outer
Inner
Nesting
None of them
View Answer
2. Which operator is used to check if a particular bit is on or off?
%
||
&
!
View Answer
3. Which of the following has a global scope in the program?
Constants
Formal parameters
Local variables
Macros
View Answer
4. Which of the following statements about functions is false?
A function can have multiple return statements with different return values
The main() function can be called recursively
The maximum number of arguments a function can take is 128
Functions cannot return more than one value at a time
View Answer
5. To use strcat() function, the ________ header file must be included in the program.
string.h
conio.h
iostream.h
stdio.h
View Answer
6. Pointers can be used to achieve?
call by function
call by procedure
call by name
call by reference
View Answer
7. ________ form a base of any C program.
Instruction
Struct
All of them
Code of block
View Answer
8. Every C program has access to which of the following files?
stdin
all of the above
stderr
stdout
View Answer
9. Which function would you use to convert 1.98 to 1?
abs()
fabs()
ceil()
floor()
View Answer
10. What is the default return type of a function?
int
float
void
char
View Answer