what will happen when you run the following program?
#include<iostream>
void main()
{
int i=10, j=5;
int modResult=0;
in divResult=0;
modResult=i%j;
cout<<modResult<< " ";
divResult=i/modResult;
cout<<divResult;
}
If you try to run this program the compiler will display the following error messages:
Comments
Leave a comment