how can I covert int to char in C -


i'm trying covert int char. there way that?

for example:

{     int i;     char d;       = 55;     d = i;      printf("%c\n", d);  } 

how make d = 55?

if want put number 55 string, use sprintf


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -