Kurumo ([info]angrauko) wrote,
@ 2009-02-28 23:18:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
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.


Advertisement


(Read 3 comments)

Post a comment in response:

From:
( )Anonymous - this user has disabled anonymous posting.
( )OpenID Help
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:

 
Notice! This user has turned on the option that logs your IP address when posting. Help
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…