How to swap values between two variables without using a
third variable?
Answer Posted / kiran
int a=10,b=20;
a=b;
b=a/2;
| Is This Answer Correct ? | 3 Yes | 49 No |
Post New Answer View All Answers
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. eg: 3 box contain stick as:1,1,1. if u take 1 stick from 3rd numbred box you will any how win the match.
5.Call by value and Call by reference with program?
What's the difference b/w Table & Templete in Smartform?
What is the use of Differ interface check box in Ship confirm?
how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out
In JCl , we have COND parameter.This holds comparison code and condition.It also has only and even parameters. ex: COND((4,GE),EVEN).what the comma mean here. is that 'and' or 'or'.
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
what is delegate and delegation model give the real live example on delegate model
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.
Write a program to find duplicate number from array in minimum time complexity.
What is the Difference between in memory database and physical database
What is autocall macro and how to create autocall macro? what is the use of it?
I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?