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 inheritance in oop?
What is object and example?
What are the data types in oop?
What are the benefits of oop?
What are the three parts of a simple empty class?
What is use of overloading?
What is the important feature of inheritance?
write knight tour problem which is present in datastructure
what are the ways in which a constructors can be called?
What is abstraction in oops?
Is enum a class?
What is difference between pop and oop?
can we make game by using c
What is polymorphism in oops with example?
What is inheritance write a program to show use of inheritance?