vendredi 20 mars 2015

Is it possible for an if statement to say if something is not entered?

I'm doing a project and I'm just curious to know is it possible to have a line that says "if something is not entered" and a prompt statement would be followed. For example, if(id_ == NULL){printf("John Doe is absent.")}. Just a curious question because I want to explore c programming a bit more.


Aucun commentaire:

Enregistrer un commentaire