1. Write a program Swap two no without using temp variable?
2. Write a program Add two no without using + operator?
3. Write a program Subtract two no without using " operator?
4. Write a program to implement function pointer?
5. Write a program Check Whether bit is set or not ?
6. Write a program Segregates a no e.g, 245 will give 2 then 4 then 5?
Aptitude
1.A boat travels at 30k.m/hr upstream and 40 k.m/hr downstream.What is the speed of the boat in still water?
2.Man buys two articles for Rs. 1250/- each.One is sold at 16% loss.At What price must 2nd article be sold to gain 20% overall?
3.A man buys 12 pens out of Which 2 are defective.If he chooses 4 pens from the lot What's the probability that all 4 pens are non-defective?
4.(72+70+68++40)=?
5.What is the least number(among 4 options) that can be subtracted from 6534 to obtain a perfect square?
6.Two taps A and B can fill up a tank in 15 mins.and 21 mins. respectivelyThey are opened together and after 4 mins A is closed.In how much time B will
fill up
the remaining part?
7.If x^2-4x+7=2 then x lies between ?