*t vs t[]

This commit is contained in:
tTh 2024-08-08 13:56:21 +02:00
parent 3f76689640
commit fd3a4b8336
1 changed files with 7 additions and 0 deletions

View File

@ -438,6 +438,13 @@ XXX il y a encore beaucoup à dire, et de quoi bien rire \textsl{:)}
\subsection{Pointeurs et chaines}
\begin{verbatim}
char *text = "this is a text";
char text[] = "this is a text";
\end{verbatim}
Vous le voyez, le piège ?
\subsection{Pointeurs et fonctions}
Exemple classique : qsort.