Standard builtin/macros

David Fernandez dfernandez@cct.co.uk
Fri Mar 31 11:12:00 GMT 2006


	Hi there,

	Does anybody know if there is any built in function or header macro in
gcc similar to this?

	#define elementsof(array) (sizeof(array)/sizeof(array[0]))

	Has it been included into any C standard?

Cheers.



More information about the Gcc-help mailing list