Answer Posted / vijay r15
#include<stdio.h>
Void main()
{
int a=10,b=20;
a=a+b-(a=b);
// or use temp var
//or use a^=b^=a
//or use a=a+b;b=a-b;a=a-b;
printf("%d%d",a,b);
}
Any dbt mail to raj.vijay55@gmail.com
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is function prototype?
What are the types of operators in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is scope rule in c?
How can I do serial ("comm") port I/O?
What are the advantages of external class?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is adt in c programming?
What are disadvantages of C language.
What is a far pointer in c?
while initialization of array why we use a[][2] why not a[2][]...?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
differentiate built-in functions and user – defined functions.
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor