0
How to kill this warning plz ?
2 Antworten
+ 1
line 57:
scanf("%s",&inventory[num_parts].part_name);
should be:
scanf("%s",inventory[num_parts].part_name);
(remove the '&' in front of 'inventory')
however, you have other mistakes, such as unexpected space before %c when scanf for op_code ^^
0
Ahmed Mahmoud Please give an example of the input that triggers the warning.