What are the advantages of c++ over c?
No Answer is Posted For this Question
Be the First to Post Answer
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
Explain how overloading takes place in c++?
How did c++ start?
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 a .h file c++?
What is the use of static functions?
Why null pointer is used?
What does ctime() do?
What is c++ virtual inheritance?
Explain the difference between new() and malloc() in c++?
Can inline functions have a recursion? Give the reason?
Explain what are accessor methods?