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
|
705 Discussions
|
Please Login in order to post a comment
This one can also be the simple one
include
void update(int *a,int *b) { int temp; temp = *a; *a = *a + *b; if(temp>*b) { *b = temp - *b; } else { *b = *b - temp; } // return *a; // return *b; // Complete this function
}
int main() { int a, b; int *pa = &a, *pb = &b;
}
Pointer in C.
Here is an Easy Solution of the problem :