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
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
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. Pointers can be used to achieve?
call by reference
call by function
call by procedure
call by name
View Answer
2. A variable declared with ____ modifier can retain its value during function calls.
static
extern
volatile
const
View Answer
3. Which of the following statements about functions is false?
A function can have multiple return statements with different return values
Functions cannot return more than one value at a time
The maximum number of arguments a function can take is 128
The main() function can be called recursively
View Answer
4. Which of the following has a global scope in the program?
Macros
Local variables
Formal parameters
Constants
View Answer
5. Who developed C languages?
Ken Thomson
peter Norton
Von Neuman
Dennis Ritchie
View Answer
6. Which of the following is not a reserved word in C langauge?
for
do
switch
goto
View Answer
7. To use strcat() function, the __________ header file must be included in the program.
conio.h
stdio.h
math.h
string.h
View Answer
8. which of the following function can be used to deallocated memory when it is no longer needed?
None of these
Calloc()
Malloc()
Free()
View Answer
9. How much memory is required to store a value of type double?
10 bytes
4 bytes
8 bytes
6 bytes
View Answer
10. What is the length null string?
3
0
1
4
View Answer