Parameter Types in Old-Style Function Definitions

Walter Bright bright at Data-IO.COM
Thu Sep 6 11:30:57 AEST 1990


In article <10391 at pt.cs.cmu.edu> hjelm at g.gp.cs.cmu.edu (Mark Hjelm) writes:
<What is the compiler allowed/required to do for this:
<    f(a, b)
<        float a;
<        char b;
<    {
<    }

It is semantically equivalent to:
	f(atmp,btmp)
	double atmp;
	int btmp;
	{	float a = atmp;
		char b = btmp;

		....
	}



More information about the Comp.std.c mailing list