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 volatile variable?
Explain how a pointer to function can be declared in C++?
What is static function? Explain with an example
What is the difference between #define debug 0 and #undef debug?
What is #include iostream h in c++?
In a function declaration what does extern means?
Specify different types of decision control statements?
what is the use of void main() in C++ language?
What flag means?
why is c++ called oops? Explain
Explain one-definition rule (odr).
Is rust better than c++?
What will happen if a pointer is deleted twice?
What is the difference between the functions memmove() and memcpy()?
Array base access faster or pointer base access is faster?