Skip to main content
added 57 characters in body
Source Link
Steadybox
  • 16.5k
  • 5
  • 41
  • 84

C (Windows), 79 7878 77 bytes

Thanks to @Johan du Toit for saving a byte!

#import<windows.h>
#define G GetSystemMetrics(
f(){printf("%dx%d",G (0),G (1));}

C (Windows), 79 78 bytes

#import<windows.h>
#define G GetSystemMetrics(
f(){printf("%dx%d",G 0),G 1));}

C (Windows), 79 78 77 bytes

Thanks to @Johan du Toit for saving a byte!

#import<windows.h>
#define G GetSystemMetrics
f(){printf("%dx%d",G(0),G(1));}
deleted 10 characters in body
Source Link
Steadybox
  • 16.5k
  • 5
  • 41
  • 84

C (Windows), 8279 7978 bytes

#import<windows.h>
g(x){x=GetSystemMetrics#define G GetSystemMetrics(x);}
f(){printf("%dx%d",g(G 0),g(G 1));}

C (Windows), 82 79 bytes

#import<windows.h>
g(x){x=GetSystemMetrics(x);}
f(){printf("%dx%d",g(0),g(1));}

C (Windows), 79 78 bytes

#import<windows.h>
#define G GetSystemMetrics(
f(){printf("%dx%d",G 0),G 1));}
Source Link
Steadybox
  • 16.5k
  • 5
  • 41
  • 84

C (Windows), 82 79 bytes

#import<windows.h>
g(x){x=GetSystemMetrics(x);}
f(){printf("%dx%d",g(0),g(1));}