Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explaination for 4.14 #54

Closed
orsenthil opened this issue Feb 24, 2014 · 0 comments
Closed

Explaination for 4.14 #54

orsenthil opened this issue Feb 24, 2014 · 0 comments
Assignees

Comments

@orsenthil
Copy link
Member

The program is about macros:
Read this and use the information.
http://en.wikipedia.org/wiki/C_preprocessor#Macro_definition_and_expansion

You can add a reference to the link, like it is done here:

https://raw2.github.com/uthcode/uthcode/chapter2/source/cprogramming/Ex_1.2_exp_printf_c.rst

How to swap two variables in C?

a = 10, b = 20, by using temperory variable t, swap a and b?

t = a;
a = b;
b = t;

print a, b

a = 20, b = 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants