When i use cout or cin call & then either << or >> .....it shows
declaration syntax error...what should i do?
cout<<"anything";
int a;
cin>>a;
return 0;?

Submitted by: Administrator
If you are using Turbo C complier need to add #include<iostream.h> header file.

and If you are using Visual Studio then you need to add

#include<iostream>
using std namespace;

the above two statements.
Submitted by: Administrator

Read Online C C++ Errors Job Interview Questions And Answers