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
Why multiple inheritance is not allowed?
Why is oop better than procedural?
What is the point of polymorphism?
What is for loop and its syntax?
What is new keyword in oops?
write a programe to calculate the simple intrest and compund intrest using by function overlading
Advantage and disadvantage of routing in telecom sector
What are the 4 pillars of oop?
What is use of overloading?
Write a c++ program to display pass and fail for three student using static member function
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is object in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is the important feature of inheritance?
explain sub-type and sub class? atleast u have differ it into 4 points?