MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is an incorrect syntax for pointer to structure?(Assuming struct test{int n;}*ptr_struct;) |
| A. | (*ptr_struct).n = 110; |
| B. | ptr_struct->n = 110; |
| C. | *ptr_struct.n = 110; |
| D. | Both (*ptr_struct).n = 110; and *ptr_struct.n = 110; |
| E. | None of these |
| Answer» D. Both (*ptr_struct).n = 110; and *ptr_struct.n = 110; | |