diff --git a/DEV1.1/CM.md b/DEV1.1/CM.md index 2b69169..ef26b40 100644 --- a/DEV1.1/CM.md +++ b/DEV1.1/CM.md @@ -709,3 +709,11 @@ char txt[6] = {'H','E','L','L','O','\0'}; printf(txt); ``` +Une constante littérale peut servir d'initialisation. + +```c +char txt[]="Hello"; +printf(txt); + +char* piege="Hello"; +``` \ No newline at end of file