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
- Pointer
- Discussions
Pointer
Pointer
Sort by
recency
|
1165 Discussions
|
Please Login in order to post a comment
I like how it helps build a solid foundation for more advanced topics like dynamic memory and data structures, Playingexchange Login
include
void update(int *a,int *b) { // Complete this function
*a = *a + *b; if (a-2(*b) <0){ *b = (a - 2(b))(-1); }else{ *b = a - 2(*b); } }
int main() { int a, b; int *pa = &a, *pb = &b;
}