What is the smallest number of non-space characters
that can be added in order to
change the following code
into a complete C program
that prints LoopyLoopyLoopyLoopy?
#include<stdio.h>
main(){
<-- ^
| @ |
v --> printf("Loopy");}
Starts as: 5 lines with no leading spaces, totaling 52 non-space characters and 5 within-line spaces.
Possible edits (additions that don't move the original characters):
•  
Single non-space characters may replace any of the 5 original spaces.
•  
Spaces and non-space characters may be added to the ends of lines.
No-nos and pedantry:
•  
No commenting.
•  
No additional " quotation marks.
•  
No new lines.
(Intended, but not made explicit, in the original puzzle statement.)
•  
All syntax should abide by
The C Programming Language, 2nd Edition, Kernighan & Ritchie.
•  
If any variables are used before they are initialized,
the program should be successful
with any initial values for those variables.
Notes about the original puzzle statement:
The word visible was used instead of instead of non-space.
Adding lines was unintentionally allowed as a newline would count
as a character added to the end of an existing line.
The line #include<stdio.h> could have been left out for
a more streamlined version of essentially the same puzzle, as
mentioned by Arkku.
#define -makes the compiler mad. Otherwise, I'd be perfectly happy to have the preprocessor eat the code I don't want, and insert some stuff I do. – Milo Brandt Jun 25 '16 at 15:47#include<stdio.h>main(){printf("LoopyLoopyLoopyLoopy");}? – jmbmage Sep 20 '16 at 23:42mathjaxpuzzles, the first of which gives a lighthearted-but-motivated-by-respect nod to PPCG: MathJax exposed. – humn Feb 19 '17 at 01:31