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
How a modifier is similar to mutator?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Is c++ proprietary?
Explain the difference between class and struct in c++?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
What problems might the following macro bring to the application?
Can a class be static in c++?
What will happen if a pointer is deleted twice?
Define upcasting.
What are built-in functions? What is the syntax for the definition?
Is string data type in c++?
What is the difference between the indirection operator and the address of oper-ator?
Explain the scope of resolution operator.
How do you establish a has-a relationship?
What is the v-ptr?