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 Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is abstraction and encapsulation?
what are the realtime excercises in C++?
What is abstraction example?
What is the real life example of polymorphism?
What is polymorphism and its types?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is inheritance and how many types of inheritance?
Whats is abstraction in oops?
Why do we use polymorphism?
What is the purpose of polymorphism?
What are benefits of oop?
What does it mean when someone says I oop?
#include
Can enum be null?