1.

What is the output of this program?
#include 
using namespace std;
int main()
{
int k;
for (k = 0; k < 20; k++);
{
cout << k;
}
return 0;
}

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


Discussion

No Comment Found