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
|
671 Discussions
|
Please Login in order to post a comment
include
include
void update(int *a,int *b) { *a=*a + *b; *b=abs(*a - *b); // Complete this function
}
int main() { int a, b; int *pa = &a, *pb = &b;
}
hiii
void update(int *a,int *b) { *a= *a + *b; *b= *a - *b - *b; if(*b <= 0){ *b = -*b; } else { *b; } // Complete this function
}
Thanks for sharing Valuable post. windaddy com