“typedef” in C basically works as an alias. Which of the following is correct for “typedef”?
A.typedef can be used to alias compound data types such as struct and union.
B.typedef can be used to alias both compound data types and pointer to these compound types.
C.typedef can be used to alias a function pointer.
D.All of the above.
Answer:D
“typedef” in C basically works as an alias. Which of the following is correct for “typedef”?
A.typedef can be used to alias compound data types such as struct and union. B.typedef can be used to alias both compound data types and pointer to these compound types. C.typedef can be used to alias a function pointer. D.All of the above.