Q2 which of the following statement(s) best refer to pointers? A) Pointer arithmetic is permitted on pointers of any type. B) A c pointer of type void can be used to directly examine or modify any object of any type C) A c pointer knows the types of pointers and indirectly referenced data items at runtime
D) All of above
Its ans provided is C
why A and B are incorrect?
Pointers mcq question
Hello @tusharaggarwal20132013,
- Pointer arithmatic is not permitted on void pointers.
- A pointer knows about its type at run time.
Hope, this would help.
Give a like, if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.