Answer Posted / sasikumar
main()
{
int a,b,c;
printf("enter two no's :");
scanf("%d%d",&a,&b);
c=a^=b^=a^=b;
printf("%d",c);
}
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What are register variables? What are the advantage of using register variables?
What is the auto keyword good for?
What is the general form of a C program?
Why main is not a keyword in c?
Is there a way to jump out of a function or functions?
what is different between auto and local static? why should we use local static?
how can f be used for both float and double arguments in printf? Are not they different types?
Under what circumstances does a name clash occur?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is page thrashing?
What are the disadvantages of a shell structure?
How can I pad a string to a known length?
Explain the difference between strcpy() and memcpy() function?
I have a varargs function which accepts a float parameter?