1.

What will be output of this program?
#include 
using namespace std;
int main()
{
int num = 5;
int num0 = num / -10;
int num1 = num % -10;
cout << num0 << " "<< num1;
return 0;
}

A. Compilation Error
B. Runtime Error
C. 0 5
D. 5 0
E. None of these
Answer» D. 5 0


Discussion

No Comment Found

Related MCQs