Write a program to interchange two variables without using
the third variable?
Answer Posted / pari
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("Enter two no");
scanf("%d%d",&a,&b);
a=a*b;
b=a/b;
a=a/b;
printf("After chanching no is =\n");
}
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What is meant by high-order and low-order bytes?
What does %c mean in c?
What is the difference between typedef and #define?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is a #include preprocessor?
What are variables c?
Is exit(status) truly equivalent to returning the same status from main?
What is "Hungarian Notation"?
What is a stream in c programming?
What's the right way to use errno?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What are the types of type qualifiers in c?
Explain what is page thrashing?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
How is a pointer variable declared?