Well, you can write a C Program that has no Semi Colon,
A Program to Print Hello World with Out Using Semi Colon,
# include<stdio.h>
main() {
if(printf("Hello World")) {
}
}
[Mod - this was one of the solutions I gave earlier in the thread - PJH]
printf() Function, returns number of characters to print, thus, an number
apart from 0, condition in if is satisfied... hence the code.
On 9/30/07, Brett McCoy <[EMAIL PROTECTED]> wrote:
>
> On 9/29/07, Paul Herring <[EMAIL PROTECTED]<pauljherring%40gmail.com>>
> wrote:
>
> > This point has been raised previously (a while back) - I postulated at
> > the time that I'd use such a question as an opportunity to walk out of
> > the interview since the company is using such stupid questions and
> > clearly has No Idea[tm], the reply back was 'but they [companies] all
> > use them'.
>
> I've never been asked such silly questions on an interview, have you?
>
> -- Brett
> ----------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi
>
>
--
Thank You,
The Clouds That Wander Through The
Sky Have No Roots, No Home;
Nor The Distinctive Thoughts Floating Through The Mind...
[Non-text portions of this message have been removed]