Is there something that we can do in C and not in C++?
Answer Posted / som
In C the const variables can be declared and can allocate
the value later.
For ex:
const int i;
i = 7;
This will work in c, but c++ will give compilation error.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is command line arguments in C++? What are its uses? Where we have to use this?
Is c++ primer good for beginners?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
Describe protected access specifiers?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
What is ctime c++?
What are the types of container classes?
What is the best free c++ compiler for windows?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
How do I download c++?
Can a Structure contain a Pointer to itself?
What are c++ storage classes?
What are the rules for naming an identifier?
Define the process of handling in case of destructor failure?
Explain the difference between static and dynamic binding of functions?