Answer Posted / vijay
#include<stdio.h>
main()
{
int a=5,b=9;
printf("%d %d \n",a,b);
a^=b^=a^=b;
printf("%d %d \n",a,b);
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain about C function prototype?
write a programming in c to find the sum of all elements in an array through function.
How do you initialize pointer variables?
What is C language ?
What is meant by realloc()?
What is a spanning Tree?
What is p in text message?
When should volatile modifier be used?
What are the different types of pointers used in c language?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
How do I convert a string to all upper or lower case?
What is const keyword in c?
What is the use of in c?
Explain bit masking in c?
What is array in C