For example, if I have char character = a
, how would I be able to print out it's name, which is "character", along with it's output within a single printf? I know I can do printf("character = %c", character);
, but how can I still print out the input's name if I enter char something = b
and make it print out "something = b" instead of "character = b"?
Aucun commentaire:
Enregistrer un commentaire