Answer Posted / 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 |
Post New Answer View All Answers
Write a program to check armstrong number in c?
What is pointer to pointer in c with example?
How variables are declared in c?
Disadvantages of C language.
What is double pointer in c?
What are register variables in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Write a program to swap two numbers without using a temporary variable?
What is an example of structure?
What is c language and why we use it?
Which is better between malloc and calloc?
How can I write a function that takes a format string and a variable number of arguments?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Is c compiled or interpreted?
Why can’t we compare structures?