wat are the two methods for swapping two numbers without
using temp variable??
Answers were Sorted based on User's Feedback
Answer / shrikantauti
i dont know the methods but can give the code to swap values without temporary variable.
a b
a=a+b
b=a-b
a=a-b
Is This Answer Correct ? | 6 Yes | 0 No |
Why n++ execute faster than n+1 ?
write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)
7 Answers Consultancy, DBU, FD, JK Associates, Kobe, Satyam,
What are the different categories of functions in c?
Will Macros support multiple arguments ?
how to make program without <> in libray.
What are the advantages of the functions?
Explain what is wrong in this statement?
What are the two types of functions in c?
What are the ways to a null pointer can use in c programming language?
what is difference between ANSI structure and C99 Structure?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?