+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.
iostream.h
stdio.h
conio.h
string.h
View Answer
2. Which of the following has a global scope in the program?
Macros
Formal parameters
Constants
Local variables
View Answer
3. Which of the following is not a reserved word in C langauge?
for
switch
goto
do
View Answer
4. A variable declared with ____ modifier can retain its value during function calls.
static
extern
volatile
const
View Answer
5. What is the length null string?
3
0
1
4
View Answer
6. Which of the following statements about functions is false?
Functions cannot return more than one value at a time
A function can have multiple return statements with different return values
The maximum number of arguments a function can take is 128
The main() function can be called recursively
View Answer
7. What is the default return type of a function?
float
void
char
int
View Answer
8. Which of the following is not a storage class?
Static
Extern
Register
Auto
View Answer
9. Which operator is used to check if a particular bit is on or off?
&
%
||
!
View Answer
10. ________ form a base of any C program.
Code of block
Struct
Instruction
All of them
View Answer