Parameter Types in Old-Style Function Definitions

Mark Hjelm hjelm at g.gp.cs.cmu.edu
Wed Sep 5 21:24:49 AEST 1990


What is the compiler allowed/required to do for this:

    f(a, b)
        float a;
        char b;
    {
    }

Is the type of "a" (as seen inside of "f") float or double or either?
Is the type of "b" char or int or either? 

Mark
hjelm at cs.cmu.edu



More information about the Comp.std.c mailing list