Print ASCII value of a charecter

// C program to print ASCII value of a charecter
#include<stdio.h>
int main(){
  char c;
  printf("Enter a charecter: ");
  scanf("%c", &c);
  printf("The ASCII value of the charecter %c is %d\n", c, c);
  return 0;
}

Other videos in this series

Back To Home