Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
k0mZ
Jun 1st, 2016
124
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
int* even(int* A, int N, int* M){
int i=0,j=0;
int *B;
B = (int *)calloc(N,sizeof(int));
while ((A[i++]%2==0) && (i<N))
B[j++] = A[i];
*M = j;
return B;
}//end_even
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Module v1.3 - rate calculation bug (repro + w...
CSS | 8 min ago | 0.58 KB
dev loader method
CSS | 9 min ago | 0.79 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 18 min ago | 0.79 KB
✅ Admin Password
CSS | 21 min ago | 0.58 KB
dev loader method
CSS | 30 min ago | 0.58 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 39 min ago | 0.58 KB
Untitled
43 min ago | 0.52 KB
I got $12,000 from this bug
CSS | 57 min ago | 0.99 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!