stringizing

Daniel Edelson daniel at terra.ucsc.edu
Tue Apr 23 15:10:27 AEST 1991


Given the following program:

	#include <stdio.h>
	#define  str(x) #x
	int main(void)
	{
		printf("%s\n", str(  hello\t\n\vworld\n\n));
		return 0;
	}

Is the output from this program supposed to be:

	hello world

Thanks,
Daniel Edelson



More information about the Comp.std.c mailing list