HOW TO SWAP TWO NOS IN ONE STEP?

Answer Posted / priya

int a=5,b=2;
printf("%d %d");


execute the pgm deftly swap wil tak place.......

Is This Answer Correct ?    3 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to generate address labels using structures?

4007


What happens if a header file is included twice?

599


What is a class c rental property?

615


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1411


How many bytes are occupied by near, far and huge pointers (dos)?

674






What is #line used for?

581


Explain that why C is procedural?

660


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

981


In c programming language, how many parameters can be passed to a function ?

631


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1128


Explain is it better to bitshift a value than to multiply by 2?

718


Is that possible to add pointers to each other?

904


What do you mean by c?

589


If errno contains a nonzero number, is there an error?

806


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

1594