Computer Science, asked by shyjiamruth78, 10 months ago

write a program to find the the ASCII value of the character​

Answers

Answered by princektr
1

Explanation:

Program to Print ASCII Value

#include <stdio.h>

char c;

printf("Enter a character: ");

// Reads character input from the user.

scanf("%c", &c);

// %d displays the integer value of a character.

// %c displays the actual character.

printf("ASCII value of %c = %d", c, c);

mark me as brainlist

Similar questions