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

Consider the following C++ program

0 Answers  


What Is A Default Constructor in C++ ?

0 Answers   Amazon,


Write a C++ program to print strings in reverse order.

0 Answers   Amdocs,


explain the term 'resource acquisition is initialization'?

0 Answers   Amazon,


Write a C++ Program to Find Sum and Average of n numbers using for loop.

1 Answers  


How does free know the size of memory to be deleted

0 Answers  


What is Advantage and Use of THIS pointer in C++ – Scenarios?

0 Answers  


Difference between Call by pointer and by reference.

0 Answers   Adobe,


Write a program to read two numbers from the keyboard and display the larger value on the screen

1 Answers  


Discuss about iteration statements in C++ .

0 Answers   Agilent,


What is meant by exit controlled loop?

0 Answers   Adobe,


What is a COPY CONSTRUCTOR and when is it called?

0 Answers   IBS,


Categories