Bonjour,

j'ai le programme suivant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
#include <stdio.h>
int main ()
{
 char buffer[]="world";
 char buffer_resultat[20];
 strcpy (buffer_resultat,"Hello");
 sprintf (buffer_resultat,"%s %s",buffer_resultat,buffer);
 puts (buffer_resultat);
 return 0;
}
Exécution sous windows avec TC :

world

Exécution sous unix AIX52

turbo_chess@bdfced80 : /users/turbo_chess
$ ./test
Hello world


une explication SVP , Emmanuel j'attends avec impatience ton analyse (le spécialiste des cas supernatural )

merci,

Cordialement,

Turbo_chess