0
How to kill this warning plz ?
2 Answers
+ 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.
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
0 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes