Data Types
int, float/double, char, and ASCII; format specifiers and type casting.
Simple enough for a 5-year-old to understand
Character and ASCII
In C, char is actually a small number (ASCII code). %c prints as a character, %d as a number.
#include <stdio.h>int main() { char letter = 'A'; printf("%c\n", letter); printf("%d\n", letter); return 0;}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 65