started hacking some experimental code
This commit is contained in:
		
							
								
								
									
										12
									
								
								c-basic/foo.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								c-basic/foo.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int foo()
 | 
			
		||||
{
 | 
			
		||||
  printf("I am foo\n");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  foo();
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								c-basic/printf.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								c-basic/printf.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  int a = 10, b = 20;
 | 
			
		||||
 | 
			
		||||
  printf("a = %d, b= %d\n", a, b);
 | 
			
		||||
  printf("a = %d, b = %d\n", b, a);
 | 
			
		||||
  printf("%d%d", a, b);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user