C++ Programming :: Basic Concepts - Discussion
Home > C++ Programming > Basic Concepts > MCQs Questions Discussion
8 / 27
What is the output of the below C++ program.
#include<iostream.h>
void main()
{
int n=1;
cout<<endl<<"The numbers are;"<<endl;
do
{
cout <<n<<"\t";
n++;
} while (n<=100);
cout << endl;
}
#include<iostream.h>
void main()
{
int n=1;
cout<<endl<<"The numbers are;"<<endl;
do
{
cout <<n<<"\t";
n++;
} while (n<=100);
cout << endl;
}
APrint natural numbers 0 to 99
BPrint natural numbers 1 to 99
CPrint natural numbers 0 to 100
DPrint natural numbers 1 to 100
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!