On 9/6/07, azarudeen ajees <[EMAIL PROTECTED]> 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