[Solved] How to perform A-B set operation in C program using builtin library
I can guess, you forgot to initialize your m and n variables with proper values. Add m = 10; n = 5; before calling Difference and your code will work. I also suggest you to write more readable code: better naming for variables, use some spaces and avoid global variables. Edit: In C++ you can … Read more