Pointers and Arrays on C related Questions and Answers - Page 2

Question 13 : Which type of variables can have same name in different function?
1. global variables
2. static variables
3. Function arguments
4. Both static variables and Function arguments
View Answer   Discuss with Members

Question 14 : Which of the following is not possible statically in C?
1. Jagged Array
2. Rectangular Array
3. Cuboidal Array
4. Multidimensional Array
View Answer   Discuss with Members

Question 15 : Which of the following does not initialize ptr to null (assuming variable declaration of a as int a=0;)?
1. int *ptr = &a;
2. int *ptr = &a – &a;
3. int *ptr = a – a;
4. All of the mentioned
View Answer   Discuss with Members

Question 20 : Calling a function f with a an array variable a[3] where a is an array, is equivalent to __________
1. f(a[3])
2. f(*(a + 3))
3. f(3[a])
4. all of the mentioned
View Answer   Discuss with Members


View 11 - 20 of 53 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