All pastes #917861 Raw Edit

Someone

public text v1 · immutable
#917861 ·published 2008-02-25 19:11 UTC
rendered paste body
/* Basic Data Types */

#include <stdio.h>

int main (void)
{
	int integerVar = 100;
	float floatingVar = 331.79;
	double doubleVar = 8.44e+11;
	char charVar = 'W';

	// The probles is here
	_Bool boolVar = 0;
	
	printf ("integerVar = %i\n", integerVar);
	printf ("floatingVar = %f\n", floatingVar);
	printf ("doubleVar = %e\n", doubleVar);
	printf ("doubleVar = %g\n", doubleVar);
	printf ("charVar = %c\n", charVar);

	// Some discrepancies here as well
	printf ("boolVar = %i\n", boolVar);

	return 0;

}