Martin Ambuhl <ma*****@earthlink.netwrites:
Thad Smith wrote:
>Nirjhar Oberoi wrote:
>>Can you add two numbers using a Single Variable? :-)
If yes then show me the code!!!
int main (void) {
int v;
v = 2 + 3;
return 0;
}
Note that the "Single Variable" [sic] is not required:
int main(void)
{
2 + 3; /* evaluate and discard result */
return 0;
}
It's required to meet the specification (which I suspect has little to
do with the actual requirement).
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.