C Program : ASCII value Example

 #include <stdio.h>

int main() { char character; printf("Enter a character: "); scanf(" %c", &character); // Note the space before %c to skip leading whitespace printf("ASCII value of '%c' is %d\n", character, character); return 0; }

Comments

Popular posts from this blog

Video Formats

Where video editing is used

File saving and folder management