Operator Precedence Associativity
( ), [ ] 1 Left to Right
*, Identifier 2 Right to left
Data type 3
--------------------------------------------------------
Example:
char (*ptr)[3]
Now this will be read as:
ptr is pointer to such one dimensional array of size 3 which contain char type data.
Author:-
Rohit Kamboj
M.Tech, UIET
No comments:
Post a Comment