Which compiler does turbo c++ use?
No Answer is Posted For this Question
Be the First to Post Answer
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is a map in c++?
What is a static member?
What is a protocol class?
Differentiate between a constructor and a destructor in c++.
What is lambda expression c++?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
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 are the uses of c++ in the real world?
How can I learn c++ easily?
Explain "passing by value", "passing by pointer" and "passing by reference" ?
What is a pdb file?