Warm-up. A Python quine:
s='s=%r;print(s%%s)';print(s%s)
%r inserts the repr of s, %% becomes a literal %. The string describes the program, and the program feeds the string to itself.
Puzzle: write a program that prints the number of characters in its own source.
Rules:
- no reading the source file,
- no hardcoding the number (if you edit the program, the output must follow),
- any language.
Bonus: do it in C.