Im trying to understand why a simple function I wrote doesnt work as it should, its probably some simple noob mistake, but its really making no sense.
Here it is:
void justapoe(char seq[], int pos){
char c;
int i;
printf("Insert: ");
scanf("%c", &c);
seq[pos]=c;
printf("Seq: ");
for(i=10;i<50;i++){
printf("%c", seq[i]);
}
printf("\n");
}
Here is the output:
Insert: Seq:
@x&
@<
Or some similar nonsense.