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...

What normal C constructs work differently in C++?

Answer Posted / guest

- Assigning int's to enum's.
- Assigning void pointers to other types of pointers.
- Function declaration foo() without parameters.
- Character constants are of type char in C++. They are of
type int in C.
- ALL functions MUST be prototyped in C++, which is not
required in C.
- In C++:
struct A { /* ... */ };
is equivalent to:
typedef struct A { /* ... */ } A;
in C.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in oop?

953


What do you mean by abstraction?

1024


What is oops and why we use oops?

990


What is the full form of oops?

1120


Write a program to sort the number with different sorts in one program ??

2323


what is the sylabus for priliminaries?

2121


What polymorphism means?

999


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4677


What is the importance of oop?

1038


What type of loop is a for loop?

1048


What is difference between pop and oop?

1075


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6620


What are the benefits of polymorphism?

1165


What are benefits of oop?

1081


class type to basic type conversion

2337