Question: Need help with the Warning: Comparison between pointer and integer main.c: In function 'loadTrainers': main.c:142:40: warning: assignment to 'region from 'int' makes pointer from integer
Need help with the Warning: Comparison between pointer and integer


main.c: In function 'loadTrainers': main.c:142:40: warning: assignment to 'region from 'int' makes pointer from integer without a cast [-Wint-conversion] trainerList [i].visits> regions = regions; main.c: In function 'processinputs': main.c:198:27: warning: comparison between pointer and integer for (int j=0;jregions; j++ ) main.c:206:31: warning: comparison between pointer and integer 206 for (int k=0;k regions[ j]> monsters; k++ )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
