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

Question 42 : Which of the following can never be sent by call-by-value?
1. Variable
2. Array
3. Structures
4. Both Array and Structures
View Answer   Discuss with Members

Question 44 : An array of similar data types which themselves are a collection of dissimilar data type are ___________
1. Linked Lists
2. Trees
3. Array of Structure
4. All of the mentioned
View Answer   Discuss with Members

Question 45 : How to call a function without using the function name to send parameters?
1. typedefs
2. Function pointer
3. Both typedefs and Function pointer
4. None of the mentioned
View Answer   Discuss with Members

Question 46 : What is the index of the last argument in command line arguments?
1. argc – 2
2. argc + 1
3. argc
4. argc – 1
View Answer   Discuss with Members

Question 47 : Which of the following is the correct syntax to declare a 3 dimensional array using pointers?
1. char *a[][];
2. char **a[];
3. char ***a;
4. all of the mentioned
View Answer   Discuss with Members

Question 48 : The operator used to get value at address stored in a pointer variable is
1. *
2. &
3. &&
4. ||
View Answer   Discuss with Members

Question 50 : What would be the equivalent pointer expression for referring the array element a[i][j][k][l]
1. ((((a+i)+j)+k)+l)
2. *(*(*(*(a+i)+j)+k)+l)
3. (((a+i)+j)+k+l)
4. ((a+i)+j+k+l)
View Answer   Discuss with Members


View 41 - 50 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