Write a program to exchange two variaables without temp
Answer Posted / srinivas
main()
{
int a=3,b=2;
a = (a+b)-(b=a);
printf("a=%d,b=%d",a,b);
}
o/p:- a=2,b=3
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
application attempts to perform an operation?
What are the modifiers available in c programming language?
write a programming in c to find the sum of all elements in an array through function.
write a c program to find the sum of five entered numbers using an array named number
What is array in c with example?
What is the difference between char array and char pointer?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Write a program in c to replace any vowel in a string with z?
the question is that what you have been doing all these periods (one year gap)
What is time complexity c?
What are the types of bitwise operator?
Explain threaded binary trees?
Are bit fields portable?
What is the 'named constructor idiom'?