Skip to content

Instantly share code, notes, and snippets.

@Codeplaza
Last active December 30, 2015 19:09
Show Gist options
  • Select an option

  • Save Codeplaza/7872183 to your computer and use it in GitHub Desktop.

Select an option

Save Codeplaza/7872183 to your computer and use it in GitHub Desktop.
Quiz 2
#include<stdio.h>
void codeplaza(int*, int*);
int main()
{
int m=7, n=9;
codeplaza(&m, &n);
printf("%d, %d", m, n);
return 0;
}
void codeplaza(int *m, int *n)
{
*m = *m**m;
*n = *n**n;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment