Skip to content

Instantly share code, notes, and snippets.

@BMuscle
Created October 13, 2019 03:51
Show Gist options
  • Select an option

  • Save BMuscle/ee24b8a0d12293e9d2559efb29679fa8 to your computer and use it in GitHub Desktop.

Select an option

Save BMuscle/ee24b8a0d12293e9d2559efb29679fa8 to your computer and use it in GitHub Desktop.
ポインタ説明7
#include <stdio.h>
void func1(int &b) {
b = 10;
}
int main()
{
int a = 50;
func1(a);
printf("a = %d", a);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment