Write a program to interchange two variables without using
the third variable?
Answer Posted / kumar
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter two no");
scanf("%d%d",&a,&b);
a=b-0;
b=a-0;
printf("a=%d b=%d",a,b);
getch();
}
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Describe static function with its usage?
When the macros gets expanded?
Differentiate call by value and call by reference?
What does p mean in physics?
Explain what standard functions are available to manipulate strings?
What is the use of pragma in embedded c?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
How can a program be made to print the name of a source file where an error occurs?
What are loops in c?
How do you determine whether to use a stream function or a low-level function?
What is a program flowchart and explain how does it help in writing a program?
What is main () in c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402