cbc/test/pointer.cb

14 lines
151 B
Plaintext
Raw Normal View History

import stdio;
int
main(int argc, char **argv)
{
int i;
int *ptr;
ptr = &i;
*ptr = 5;
printf("%d;%d\n", i, *ptr);
return 0;
}