67 272
Assignments Done
99,1%
Successfully Done
In November 2018

Answer to Question #5114 in C++ for yousra fatima

Question #5114
Develop a program in c that takes as input a decimal value and prints its corresponding ASCII Character
Expert's answer
#include <stdio.h>

int main (int argc, char * argv[])
{
char c;
int i;

printf("Enter a decimal value: ");
scanf("%i", &i);
c = (char)i;
printf("ASCII Character: %c", c);
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions