find out the errors and re-write the program again without errors
#include <iostream.h>;
void main ( )
{
cout<<"welcome to c++";
Answers
Answered by
0
Answer:
without error. if you run in turbo c++ compiler
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<"welcome to c++";
getch();
}
Answered by
1
Question:-
Find the errors in the following code.
Answer:-
Given code,
#include <iostream.h>
void main ( )
{
cout<<"welcome to c++";
After correction,the code will be,
#include <iostream.h>
#include <conio.h>
void main ( )
{
clrscr(); //clear screen.
cout<<"welcome to c++";
getch();
}
Similar questions
Science,
3 months ago
Hindi,
3 months ago
English,
7 months ago
Social Sciences,
7 months ago
Social Sciences,
1 year ago
Physics,
1 year ago