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 » 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