How to write the code of the program to swap two numbers
with in one statement?
Answer Posted / manoj kumar shukla
main()
{
int a=4,b=3;
a=a+b-(b=a);
printf("%d",a);
printf("%d",b);
}
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Describe the steps to insert data into a singly linked list.
Describe dynamic data structure in c programming language?
Who is the founder of c language?
Explain a pre-processor and its advantages.
What is the heap in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is the value of c?
How do you view the path?
Why can arithmetic operations not be performed on void pointers?
can anyone please tell about the nested interrupts?
What is the difference between c &c++?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
How can you allocate arrays or structures bigger than 64K?
What is the use of the function in c?
Which is best book for data structures in c?