1.

Which of the following is an incorrect syntax for pointer to structure?

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;


Discussion

No Comment Found

Related MCQs