write a program to swap Two numbers without using temp variable.
Answer Posted / nagakishorebabu
a=a+b;
b=a-b;
a=a-b;
printf("a %dand b %dis :",a,b);
| Is This Answer Correct ? | 181 Yes | 43 No |
Post New Answer View All Answers
Hai what is the different types of versions and their differences
Find MAXIMUM of three distinct integers using a single C statement
What is a dynamic array in c?
What are keywords c?
What is void main () in c?
What is the general form of #line preprocessor?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What do header files do?
What is return in c programming?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What does the format %10.2 mean when included in a printf statement?
Why is structure important for a child?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Explain the difference between #include "..." And #include <...> In c?
Explain how can I remove the trailing spaces from a string?