What is void pointer in c++ with example?
No Answer is Posted For this Question
Be the First to Post Answer
How to construct virtual constructor
6 Answers CIStems Software, Symphony,
What is the difference between a baller and a reference in C++?
What is the use of ::(scope resolution operator)?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What are the different types of Storage classes?
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 the difference between equal to (==) and assignment operator (=)?
Describe the main characteristics of static functions?
How can you link a c program with a c function?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
Can you sort a set c++?
Is c++ the hardest language?