Why is c++ awesome?
No Answer is Posted For this Question
Be the First to Post Answer
Is c better than c++?
Discussion on error handling of C++ .
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
What is realloc() and free()? What is difference between them?
What is a template in c++?
Is c++ an oop?
What is c++ virtual inheritance?
Is c++ fully object oriented?
Write syntax to define friend functions in C++.
List out some of the object-oriented methodologies?
How can I disable the "echo" feature?
What is this weird colon-member (" : ") syntax in the constructor?