allocates storage for newrecord, an instance of type stackrecord, fills in its field, and puts it on s

stackrecord newrecord;

newrecord.info.n = n;

newrecord.info.i = i;

newrecord.info.a = a;

newrecord.info.f = f;

push(&newrecord,ps);