++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 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
2. Which of the following is not a storage class?
Auto
Extern
Register
Static
View Answer
3. What is the length null string?
1
0
3
4
View Answer
4. Calling one function from within another is said to be __________ of function calls.
Nesting
Inner
None of them
Outer
View Answer
5. Which of the following functions can be used to increase the size of dynamically allocated array?
memadjust()
malloc()
calloc()
realloc()
View Answer
6. Which operator is used to check if a particular bit is on or off?
&
!
%
||
View Answer
7. ________ form a base of any C program.
Instruction
Code of block
Struct
All of them
View Answer
8. What is the default return type of a function?
char
float
void
int
View Answer
9. Every C program has access to which of the following files?
stderr
stdin
stdout
all of the above
View Answer
10. A variable declared with ____ modifier can retain its value during function calls.
const
static
volatile
extern
View Answer