What is wrapper class in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is flag in computer?
Is java easier than c++?
What is encapsulation in c++ with example?
Explain overriding.
Where Malloc(), Calloc(), and realloc() does get memory?
How we can differentiate between a pre and post increment operators during overloading?
What is the use of structure in c++?
Is c++ low level?
What is a manipulative person?
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 purpose of the noexcept keyword?
How would perform Pattern Matching in C++?