Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- void main(void){
- char salle[4]={"24"};
- char *numero[5] = {"1","2","3","4"};
- char tampon[4]={"24"};
- int i;
- for(i=0;i<4;i++){
- strcpy(salle, tampon);
- printf ("salle %s\n",strcat(salle,numero[i]));
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement