2^24_Challenge_C

#include <stdio.h>
#include<math.h>
int main()
{
	int result = 1;
	for (int i = 0; i < 24; i++)
	{
		result *= 2;
	}
	printf("%d\n", result);

	printf("%.0lf\n", pow(2, 24));
	return 0;
}

Nice!

Privacy & Terms