Functions on C related Questions and Answers - Page 2

Question 13 : Automatic variables are allocated memory in ___________
1. heap
2. Data segment
3. Code segment
4. stack
View Answer   Discuss with Members

Question 14 : #include <somefile.h> are _______ files and #include “somefile.h” ________ files.
1. Library, Library
2. Library, user-created header
3. User-created header, library
4. They can include all types of file
View Answer   Discuss with Members

Question 16 : Which of the following cannot be static in C?
1. Variables
2. Functions
3. Structures
4. None of the mentioned
View Answer   Discuss with Members

Question 17 : Array sizes are optional during array declaration by using ______ keyword.
1. auto
2. static
3. extern
4. register
View Answer   Discuss with Members

Question 18 : Automatic variables are initialized to ___________
1. Zero
2. Junk value
3. Nothing
4. Both Zero & Junk value
View Answer   Discuss with Members

Question 19 : What is the default return type if it is not specified in function definition?
1. void
2. int
3. double
4. short int
View Answer   Discuss with Members


View 11 - 20 of 84 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter