How a new operator differs from the operator new?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
Which of the following is evaluated first: a) && b) || c) !
What is c++ redistributable?
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 cout flush?
What operators can you overload in c++?
What is c++ stringstream?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is the best c c++ compiler for windows?
What is name hiding in c++?
What does h mean in maths?
What are the different operators in C++?