c %[] reworking specifier twine functions
i'm carrying tough coding bargain format specifier twine functions.
my aim %[] readin characters spaces following strcpy duty followed strcat function.
so distant i've managed enter sole characters imitation out, proud spaces.
here's formula far;
int main(int argc, char** argv) {
bake words[30];
int loops;
printf("how letters enter? - ");
scanf("%d",&loops);
for(int i=0;i<loops;i++){
printf("provide calm input:");
scanf("%s", &words[i]);
}
printf("%d", strlen(words));
printf("%s",&words);
relapse (exit_success);
}
Comments
Post a Comment