but i think which interviewer would like to ask such questions.
he must be asking about how good you are in writing a programme
:-)
On 9/6/07, Paul Herring <[EMAIL PROTECTED]> wrote:
>
> On 9/6/07, azarudeen ajees <[EMAIL PROTECTED]<azar_ajees_26%40yahoo.co.in>>
> wrote:
>
> > i want the programming in c without semicolon
>
> You cannot write a useful program without using semicolons. However
> answers to this trick interview question are:
>
> int main(){
> }
>
> #include <stdio.h>
> int main(){
> if (printf("hello world\n")){}
> }
>
> #include <stdio.h>
> int main(){
> while(printf("hello world\n"),0){}
> }
>
> Trick answer:
>
> #define NOT_A_SEMICOLON ;
> #include <stdio.h>
> int main(){
> printf("hello world\n")NOT_A_SEMICOLON
> }
>
> --
> PJH
> "Statistics are like a bikini. What they reveal is suggestive, but
> what they conceal is vital"
> -- Aaron Levenstein
>
>
--
(¨`·.·´¨)
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´ Smiling!
`·.¸.·´ S H I S H I R S H A R M A 'Criss'
--------------------------------------------------------------------------------
"Don't Quit"
...and whats life without an impossible dream...
--------------------------------------------------------------------------------
[EMAIL PROTECTED]
[Non-text portions of this message have been removed]