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 the difference between malloc, calloc and realloc?

0 Answers   Alter,


How to run C++ program in cmd

0 Answers  


What is RTTI and why do you need it?

0 Answers   Amazon,


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


How to invoke a C function using a C++ program?

0 Answers   Alter,


What does malloc return in C and C++?

0 Answers   Alter,


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; }

1 Answers  


What is Copy Constructor?

5 Answers   ABC, Siemens,


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 is a constructor initializer list?

0 Answers   Amazon,


Question on Copy constructor.

0 Answers   Alter,


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

0 Answers   Amazon,


Categories