I've really tried searching for this before I thought of bother you guys
with this question. It's such a simple thing, but it's driving me nuts!
Is it possible to check if an int (or any other type) has no value.
something like:
int i;
...
...
...
if (i==NULL){
......
}
I know this doesn't work and I know NULL is a pointer. Is there any way
this can be done?
TIA.
with this question. It's such a simple thing, but it's driving me nuts!
Is it possible to check if an int (or any other type) has no value.
something like:
int i;
...
...
...
if (i==NULL){
......
}
I know this doesn't work and I know NULL is a pointer. Is there any way
this can be done?
TIA.
Comment