I've got an exercise due that make no sence to me can someone please explain this to me.
The assignment says given the following definition statement
char k, *p, n[3], **q, *x[4];
What is the data type for the following expressions
Note: Each expression is an rvalue (a constant)
k p
k+2 p+2
&k &p
&k+2 p[2]
and the list goes on
I understand char k= 'k' is a char but what about k+2 ?
If your creating char variable wouldn't they all be char
Help Please