When using pointers to structures, the ________ operator is used to access the members of the structure.
- Arrow (->)
- Asterisk (*)
- Comma (,)
- Period (.)
Pointers to structures are used with the arrow operator (->) to access structure members. The arrow operator is used to dereference the pointer and access the member directly.
Loading...
Related Quiz
- What is the advantage of using pointers to structures instead of directly using structures?
- What will happen if the condition in a 'while' loop is initially false?
- In C, the ________ function is used to write a string to a file.
- You are tasked with writing a C function to calculate the factorial of a number. Which programming technique would be most suitable for this task?
- You are writing a C program where you need to maintain a counter that persists across multiple function calls. Which type of variable would you use?