how to swap two numbers with out using temp variable
Answer Posted / kusum
if (a>b)
temp=a;
a=b;
b=temp;
| Is This Answer Correct ? | 0 Yes | 21 No |
Post New Answer View All Answers
Differentiate between the message and method in c++?
What are literals in C++?
Does c++ vector allocate memory?
What do you mean by inheritance in c++?
What is encapsulation in c++?
Can you use the function fprintf() to display the output on the screen?
Is it possible to get the source code back from binary file?
What is prototype in c++ with example?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
Does c++ support exception handling?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is an iterator?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What is near, far and huge pointers? How many bytes are occupied by them?
When should overload new operator on a global basis or a class basis?