| Kurumo ( @ 2009-02-28 23:18:00 |
Suppose you are given a language called C--. It is just like C, except
there is no if, no switch, and no tertiary operator: i.e. no conditionals
of any kind. Can we write all the same programs in it as in, say, C or C++,
and if so, how?
To make the problem more interesting, suppose we also remove all the
loop constructs?
I think I will ask this in interviews.
there is no if, no switch, and no tertiary operator: i.e. no conditionals
of any kind. Can we write all the same programs in it as in, say, C or C++,
and if so, how?
To make the problem more interesting, suppose we also remove all the
loop constructs?
I think I will ask this in interviews.