i have a problem plz help me

+1 student abdo · January 28, 2015
#include <iostream>
#include <stdio.h>
#include<stdlib.h>
//#include<string.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {
int i;
char *t[4];
char m;
for (i=0;i<=3;i++){
printf("donnez un jour%d?\n",i+1);
scanf("%s",&t);
}
for (i=0;i<=3;i++){printf("jour %d:%s\n",i+1,t);
}




return 0;
}

Post a Reply

Replies

Oldest  Newest  Rating
0 student abdo · January 29, 2015
YES  I SEE
0 student abdo · January 30, 2015
when i run the program the console Shows me that there is something wrong but i don't where or how because is not declared in the codeblock 
  • 1

C

107,085 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator