Home > Back-end >  Super small white to ask a question
Super small white to ask a question

Time:12-01

Int a=1;

Could you tell me how to convert char under a

Like I'm going to the printf (a) printed

CodePudding user response:

Printf (" % d ", a);

CodePudding user response:

Printf (" % c ", a);

The printf () function call format for:
Printf (" & lt; format string & gt;" , % d output in decimal form signed integer (positive output symbols)
Output a single character % c
  • Related