Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Identify the error in the following program.
#include<iostream.h>
void main()
{
int i = 0;
i = i + 1;
cout « i « " ";
/*comment *//i = i + 1;
cout << i;
}



Identify the error in the following program. #include<iostream.h> void main() { int i ..

Answer / hr

/* comment*//i=i+1; -> Syntax error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

What is a constructor initializer list?

0 Answers   Amazon,


Question on Copy constructor.

0 Answers   Alter,


Difference between Call by pointer and by reference.

0 Answers   Adobe,


To solve the 8 Queens problem, which algorithm is used?

0 Answers   Accenture,


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


CDPATH shell variable is in(c-shell)

0 Answers   Siemens,


Define an Abstract class in C++?

0 Answers  


What is data abstraction? How is it implemented in C++?

0 Answers   Amdocs,


How does free know the size of memory to be deleted

0 Answers  


In C++ what is the meaning of data hiding?

0 Answers   Aricent,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


When would you choose to return an error code rather than throw an exception?

0 Answers   Amazon,


Categories