Will you please explain, how to transact values of two variables without using temperory variable.
I will be very thank full for you
Will you please explain, how to transact values of two variables without using temperory variable.
I will be very thank full for you
willl you please explain what is the difference between #include<stdio.h> and #include "stdio.h"
For the first, look up XOR SWAP.
For the second, #include<xyz> tells the preprocessor to search the standard library path for the include file (generally defined in compiler options). #include "xyz" is used to tell the preprocessor to use a custom header, generally one you write as part of your program.
The utterly pointless answer to question 1
http://c-faq.com/misc/swapnotemp.html
The fairly useful answer to the YELLED question 2
http://c-faq.com/cpp/inclkinds.html
Now go read the rest of the comp.lang.c FAQ and then read our local FAQ
http://faq.cprogramming.com/
There'll be a quiz at the end of next week.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.