We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C
- Introduction
- Pointers in C
- Discussions
Pointers in C
Pointers in C
Sort by
recency
|
691 Discussions
|
Please Login in order to post a comment
int sum , diff; sum = *a +*b; diff = (*a > *b) ? (*a - *b) : (*b - *a); *a = sum; *b = diff;
This solution demonstrates the basic usage of pointers in C. Mahadev betting
Here is HackerRank Pointers in C problem solution