WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP
Answers were Sorted based on User's Feedback
Answer / vinodhini r
main()
{
int a,b;
scanf("%d %d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("%d %d",a,b);
}
Is This Answer Correct ? | 26 Yes | 2 No |
How do you answer polymorphism?
What is difference between class and object with example?
What is new keyword in oops?
Can abstract class have normal methods?
What is abstrac class?where is it use?
Why do we use class in oops?
What is abstraction oop?
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
what is difference between objects and function
What is the difference between and interface and an abstract class ?
4 Answers IBM, Infosys, Ness Technologies,
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,