feat(Colleen): adding the Colleen source

- Multiclonage
This commit is contained in:
Raphael 2026-01-30 17:04:23 +01:00
parent 3f8b4c9e07
commit 960681d986
No known key found for this signature in database

14
C/Colleen/Colleen.c Normal file
View file

@ -0,0 +1,14 @@
#include <stdio.h>
/**
* @brief Return the all program in a string using placeholder
*
* @return all the program even this comment
*/
const char *get_program(void) {
return "#include <stdio.h>%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());
}