a C prog to swap 2 no.s without using variables just an
array?
Answer Posted / sankar kiran
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("Enter the number:");
scanf("%d%d",&a,&b)
a=a+b;
b=a-b;
a=a-b;
printf("%d%d",a,b);
getch();
}
| Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
Write a program to check armstrong number in c?
Explain high-order and low-order bytes.
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Why is c called a mid-level programming language?
will u please send me the placement papers to my mail???????????????????
What is the advantage of using #define to declare a constant?
What is a char c?
What is enumerated data type in c?
What is a keyword?
Write a C program to count the number of email on text
What is integer constants?
What is the ANSI C Standard?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is pointer to pointer in c language?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile