C declarations & assignment ops

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Thu Jan 31 03:02:21 AEST 1985


> >	 int ptr[]   <=>   int *ptr

Oo, oo!  This brings to mind a useful language extension:

	a <=> b;

for exchanging the contents of a and b.  How often have you written:

	{	register type	t;

		t = a;
		a = b;
		b = t;
	}



More information about the Comp.lang.c mailing list