--- In [email protected], "thides" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "John Matthews" <jm5678@> wrote: > > > > Ok, try this one :-) > > > > int main(int argc, char *argv[]) > > { > > int i = 1; > > short s = 2; > > pointer p = (argc > 1) ? &i : &s; > > > > return *p; > > } > > > > > Is pointer a new data type?
Yes- if you read through the previous posts in this topic, you'll see that the OP is asking whether there could be a generic 'pointer type' rather than pointers to types. I introduced 'pointer' as this type back in my example code back in post #67552. It isn't a real type. John
