HOW TO SWAP TWO NOS IN ONE STEP?
Answers were Sorted based on User's Feedback
Answer / rahul
Put mirror on SWAP. You can see the reverse on the mirror.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / n.ramesh
#include(stdio.h);
#include(stdlib.h);
void main()
{
int a=10,b=20;
swap(a,b);
a=b&b=a;
printf("%d%d",a,b);
}
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / venkatesh sabinkar
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,b=2,t;
clrscr();
printf("a=%d,b=%d",a,b,b=t,a=b,t=a);
getch();
}
| Is This Answer Correct ? | 0 Yes | 5 No |
Answer / 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 |
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
what is the code for getting the output as * ** ***
what is the use of #pragma pack, wer it is used?
design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.
How can I direct output to the printer?
wat is the output int main() { char s1[]="Hello"; char s2[]="Hello"; if(s1==s2) printf("Same"); else printf("Diff"); }
What is the most efficient way to count the number of bits which are set in a value?
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
What is string in c language?
what are the compilation steps? ( i want inside the compiler )
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }