what wrong are there
Posted
by gcc
on Stack Overflow
See other posts from Stack Overflow
or by gcc
Published on 2010-05-07T15:06:52Z
Indexed on
2010/05/07
15:08 UTC
Read the original article
Hit count: 84
Filed under:
c
int main(void)
{
char *tutar[100][20],temp;
int i;
int n;
i=0;
while(temp!='x')
{
scanf("%c",&temp);
tutar[i]=malloc(sizeof(int));
tutar[i]=temp;
++i;
}
n =i;
for(i=0;i<=n;++i)
{
printf(" %c ",*tutar[i]);
}
printf("\n\n");
/*for(i=0;i<=n;++i) { printf("%d",atoi(*tutar[i])); } */
© Stack Overflow or respective owner