Variable Types


What are the types of variables x, y, y and u defined in the following code?

#define Atype int*
typedef int *p;
p x, z;
Atype y, u;

✍: FYIcenter


Answer: x and z are pointers to int. y is a pointer to int but u is just an integer variable

2007-02-26, 5719👍, 0💬