What is the rule of three?
No Answer is Posted For this Question
Be the First to Post Answer
write a C++ programming :if the no is between 32 to 50 it will be odd.
What is a forward referencing and when should it be used?
What is the use of ::(scope resolution operator)?
why is iostream::eof inside a loop condition considered wrong?
What is oop in 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?
Can you explain the term "resource acquisition is initialization?"
What is polymorphism in c++? Explain with an example?
Should I learn c or c++ first?
How can we check whether the contents of two structure variables are same or not?
Which one is better- macro or function?
Explain queue. How it can be implemented?