boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

00005.c (170B)


      1 int
      2 main()
      3 {
      4 	int x;
      5 	int *p;
      6 	int **pp;
      7 
      8 	x = 0;
      9 	p = &x;
     10 	pp = &p;
     11 
     12 	if(*p)
     13 		return 1;
     14 	if(**pp)
     15 		return 1;
     16 	else
     17 		**pp = 1;
     18 
     19 	if(x)
     20 		return 0;
     21 	else
     22 		return 1;
     23 }