2021年3月3日星期三

How to I output the name of an input?

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"?

https://stackoverflow.com/questions/66467130/how-to-i-output-the-name-of-an-input March 04, 2021 at 09:04AM

没有评论:

发表评论