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 std :: endl?
What are c++ variables?
Can user-defined object be declared as static data member of another class?
Where must the declaration of a friend function appear?
Explain stack unwinding.
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is a manipulator in c++?
How do you write a function that can reverse a linked-list?
What are manipulators in c++ with example?
Do vectors start at 0 c++?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What are advantages of using friend classes?
Explain stack & heap objects?
What is a list c++?
Why #include is used?