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
What is abstract class in oop?
What do you mean by abstraction?
What is oops and why we use oops?
What is the full form of oops?
Write a program to sort the number with different sorts in one program ??
what is the sylabus for priliminaries?
What polymorphism means?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is the importance of oop?
What type of loop is a for loop?
What is difference between pop and oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What are the benefits of polymorphism?
What are benefits of oop?
class type to basic type conversion