sync: 2026-10-19 14:06
This commit is contained in:
1 parent
7649a9bc97
commit
4171e247c4
1 file changed
+8
@@ -709,3 +709,11 @@ char txt[6] = {'H','E','L','L','O','\0'};
|
|||||||
printf(txt);
|
printf(txt);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Une constante littérale peut servir d'initialisation.
|
||||||
|
|
||||||
|
```c
|
||||||
|
char txt[]="Hello";
|
||||||
|
printf(txt);
|
||||||
|
|
||||||
|
char* piege="Hello";
|
||||||
|
```
|
||||||
Reference in new issue
Block a user