Matrice de chaine de caractère en c
Résolu
lialaa
Messages postés
15
Statut
Membre
-
lialaa Messages postés 15 Statut Membre -
lialaa Messages postés 15 Statut Membre -
Bonjour,
il y un problème sur cet algorithme en c :
#include<stdio.h>
char t[15][2];
main()
{
for(i=1;i<=5;i++)
{
for(j=1;j<=2;j++)
{
t[i][j] = 'j';
printf("%s",t[i][j]);
}
}
}
il y un problème sur cet algorithme en c :
#include<stdio.h>
char t[15][2];
main()
{
for(i=1;i<=5;i++)
{
for(j=1;j<=2;j++)
{
t[i][j] = 'j';
printf("%s",t[i][j]);
}
}
}
Configuration: Linux Mandriva Firefox 2.0.0.6