Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Variable Function Structure Pointer C Programming Interview Questions Basics Viva Tutorials

1.) Smallest Element of array's index is called
a.) lower bound
b.) upper bound
c.) range
d.) Extraction
ANSWER: a.) lower bound

2.) O(N)(liner time) is better than O(1) constant time.
a.) TRUE
b.) FALSE
ANSWER: b.) FALSE

3.) what is the maximum number of dimensions an array in C may have ?
a.) two
b.) eight
c.) twenty
d.) theoretically no Limit only practical limits are Memory Size and compilers
ANSWER: d.) theoretically no limit only practical limits are memory size and compilers

C Frequently Asked Questions
C-Job Interview Questions

C Viva Questions for Freshers Basics
Keywords In C- Volatile Static Variable

4.) Array passed as an argument to a function is interpreted as 
a.) Address of the array
b.) Values of the first elements of the array
c.) Address of the first element of the arrayd.) Number of element of the array 
ANSWER: c.) Address of the first element of the array

5.) Which of the following is the correct way of declaring a Float pointer: 
a.) float ptr;
b.) float *ptr;
c.) *float ptr;
d.) None of the above
ANSWER: b.) float *ptr;

6.) The size of a structure can be determined by  

a. size of variable name 
b. sizeof(struct tag)

a.) Only a
b.) Only b
c.) Both a and b
d.) none of the above
ANSWER: c.) Both a and b
CONTINUE READING »


This post first appeared on IngenuityDias, please read the originial post: here

Share the post

Variable Function Structure Pointer C Programming Interview Questions Basics Viva Tutorials

×

Subscribe to Ingenuitydias

Get updates delivered right to your inbox!

Thank you for your subscription

×