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
WordPress Development
Amazon Virtual Assistant
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
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 statements about functions is false?
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
Functions cannot return more than one value at a time
View Answer
2. Which of the following has a global scope in the program?
Formal parameters
Constants
Macros
Local variables
View Answer
3. To use strcat() function, the __________ header file must be included in the program.
stdio.h
math.h
string.h
conio.h
View Answer
4. How much memory is required to store a value of type double?
8 bytes
10 bytes
6 bytes
4 bytes
View Answer
5. Calling one function from within another is said to be __________ of function calls.
Nesting
Inner
None of them
Outer
View Answer
6. Which of the following is not a storage class?
Auto
Extern
Static
Register
View Answer
7. To use strcat() function, the ________ header file must be included in the program.
string.h
iostream.h
conio.h
stdio.h
View Answer
8. A variable declared with ____ modifier can retain its value during function calls.
volatile
const
extern
static
View Answer
9. Which of the following is not a reserved word in C langauge?
do
for
goto
switch
View Answer
10. What is the length null string?
3
1
4
0
View Answer