File: pointer-pal.c

package info (click to toggle)
indent 2.2.13-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,696 kB
  • sloc: ansic: 20,903; sh: 5,035; makefile: 165; sed: 16; cpp: 5
file content (16 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
main ()
{
  int* x;
  x = malloc (sizeof (int));
  *x = 1;
}

func1 (int* p)
{
}

func2 (uint64_t* p)
{
  uint64_t* q;
  p = q * q;
}