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 use of ::(scope resolution operator)?
Write about c++ storage classes?
Explain storage qualifiers in c++.
Which one between if-else and switch is more efficient?
what are the characteristics of Class Members in C++?
Can we change the basic meaning of an operator in c++?
Explain how an exception handler is defined and invoked in a Program.
Why is it necessary to use a reference in the argument to the copy constructor?
What is c++ code?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Explain deep copy?
If there are two catch statements, one for base and one for derived, which should come first?
Write a program to find the Fibonacci series recursively.
Is it possible for a member function to use delete this?
Describe new operator and delete operator?