diff --git a/C/Colleen/Colleen.c b/C/Colleen/Colleen.c new file mode 100644 index 0000000..f9849c3 --- /dev/null +++ b/C/Colleen/Colleen.c @@ -0,0 +1,14 @@ +#include + +/** + * @brief Return the all program in a string using placeholder + * + * @return all the program even this comment + */ +const char *get_program(void) { + return "#include %1$c%1$c/**%1$c * @brief Return the all program in a string using placeholder%1$c *%1$c * @return all the program even this comment%1$c */%1$cconst char *get_program(void) {%1$c%2$creturn %3$c%4$s%3$c;%1$c}%1$c%1$cint main(void) {%1$c%2$cprintf(get_program(), 10, 9, 34, get_program());%1$c%2$creturn 0;%1$c}%1$c"; +} + +int main(void) { + printf(get_program(), 10, 9, 34, get_program()); +}