Question: I keep recieving an error message when I run the code. The error message is, Segmentation fault (core dumped). I input ./myoutput CSCE 3600 ENGL
I keep recieving an error message when I run the code. The error message is, "Segmentation fault (core dumped)". I input ./myoutput CSCE 3600 ENGL 1234 and the output should be . S 3 N 1 but I get the core dumped error message. The code is listed below.
#include
int main(int argc, char *argv[]) { int i; if(argc < 2 || argc > 6) { printf("Must have 2 to 6 arguments."); } else
for(i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
