Answers for "how to print integer as character in c"

C
6

how to print int in c

#include <stdio.h>
int main() {   
    int number;   
    printf("Enter an integer: ");  
    scanf("%d", &number);
    printf("You entered: %d", number);    
    return 0;
}
Posted by: Guest on June-13-2020
6

int to char in c

c = i +'0';
Posted by: Guest on October-20-2020
0

how to convert int in to const char in c

int size;
 char dispsize[100];
 sprintf(dispsize,"%d",size);
Posted by: Guest on April-30-2020

Code answers related to "how to print integer as character in c"

Code answers related to "C"

Browse Popular Code Answers by Language