write a program to swap Two numbers without using temp variable.
Answer Posted / raghavendra
a=3;
b=2;
a=a^b;
b=a^b;
a=a^b;
printf("%d%d",a,b);
| Is This Answer Correct ? | 34 Yes | 21 No |
Post New Answer View All Answers
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
How does normalization of huge pointer works?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Is fortran still used in 2018?
Define and explain about ! Operator?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Can we assign string to char pointer?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
How can you determine the maximum value that a numeric variable can hold?
Can we change the value of constant variable in c?
What is the meaning of && in c?
Where local variables are stored in c?
Tell me about low level programming languages.
In which layer of the network datastructure format change is done
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...