test.c (310B)
1#include <gbdk/platform.h> 2#include <stdio.h> 3#include <stdint.h> 4 5int a = 100, b = 200; 6void main(int argc, char * argv[]) { 7 printf("Hello, world!\r\nargc: %d\r\n", argc); 8 9 for (int i = 0; i != argc; i++) 10 printf("argv%d = '%s'\r\n", i, argv[i]); 11 12 printf("a = %d b = %d\r\n&a == 0x%x", a, b, &a); 13}