[ create a new paste ] login | about

Link: http://codepad.org/1yxoCSi7    [ raw code | output | fork ]

C, pasted on Apr 29:
1
2
3
4
5
6
7
8
9
10
11
12
#include<stdio.h>
main()
		{
			extern int i;
		{ 	int i=20;
		 { 	
		   const volatile unsigned i=30; printf("%d",i); 
		 }
	  	printf("%d",i);
		}
		  printf("%d",i);
	}	


Output:
1
2
In function `main':
undefined reference to `i'


Create a new paste based on this one


Comments: