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 do you by Function Overloading in C++?

0 Answers   Akamai Technologies, Infogain,


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


What are Agilent PRECOMPILERS?

0 Answers   Agilent,


Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


How to delete array of objects in C++? Proof by C++ code for proper deletion

0 Answers  


Explain function prototypes in C++.

0 Answers   Aricent,


What are the costs and benefits of using exceptions?

0 Answers   Amazon,


What is an algorithm (in terms of the STL/C++ standard library)?

0 Answers   Amazon,


What does it mean to declare a function or variable as static?

0 Answers   Amazon,


What is the difference between an ARRAY and a LIST in C++?

1 Answers   IBS, TCS,


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


Explain the difference between method overriding and method overloading in C++?

0 Answers   Accenture,


Categories