(Assuming struct temp{int b;}*my_struct;)
a) *my_struct.b = 10;
b) (*my_struct).b = 10;
c) my_struct->b = 10;
d) Both *my_struct.b = 10; and (*my_struct).b = 10;
Which of the following is an incorrect syntax for pointer to structure?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following is an incorrect syntax for pointer to structure?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!