difference between c and c++?
Answer Posted / k.k
.............SOME DIFFERENT ANSWER......
1) In c we declare variable at the start of block...
In c++ we can declare it any where.....
2)In c we can change value of constant variable by using
pointer...
In c++ we can not....
3)In c we can not take the address of register variable..
In c++ we can...
register int x;
printf("%d",&x);
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the disadvantage of using a macro?
What is the use of endl in c++ give an example?
How can you quickly find the number of elements stored in a dynamic array?
write a function signature with various number of parameters.
Is dev c++ free?
What is a null object in c++?
What are enumerations?
Explain the difference between static and dynamic binding of functions?
What do you mean by enumerated data type?
What is ctime c++?
What are the manipulators in c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is c++ redistributable?
What is the difference between reference and pointer?
What is a rooted hierarchy?