Write a macro for swapping integers
Answers were Sorted based on User's Feedback
Answer / deepak
# define swap(a,b) a = a + b; b = a - b; a = a - b;
| Is This Answer Correct ? | 50 Yes | 8 No |
Why do pointers exist?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
What is difference between multiple inheritance and multilevel inheritance?
what is the difference between <stdio.h>and "stdio.h"?
What is an example of genetic polymorphism?
What is the main purpose of inheritance law?
What is difference between abstraction and encapsulation?
Can java compiler skips any statement during compilation time?
What is encapsulation in ict?
Write a program in c++ to read two floating point numbers and find their sum and average.
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.
what is use to destroy an object? illustrate.