[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


without semicolon how to write c program

<< Back to: comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ)

Question by sidduc
Submitted on 7/28/2003
Related FAQ: comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ)
Rating: Rate this question: Vote
without semicolon how to  write c  program


Answer by TonyPujals
Submitted on 8/14/2003
Rating:  Rate this answer: Vote
#include <stdio.h>

main()
{
  if (printf("Hello, world!")) {}
}

 

Answer by galaxy
Submitted on 8/18/2003
Rating:  Rate this answer: Vote
Or even:


main()
  {
  }


 

Answer by rangnatha
Submitted on 12/1/2003
Rating:  Rate this answer: Vote
#define SEMECOLON ;

void main()
{
printf("\n c program )SEMECOLON
}

 

Answer by Magos
Submitted on 2/27/2004
Rating:  Rate this answer: Vote
#include <stdio.h>

main()
{
  while(printf("Look, no semicolons!"),0){}
}

 

Answer by Murugesan
Submitted on 6/8/2005
Rating: Not yet rated Rate this answer: Vote
#include <stdio.h>
main()
{
  switch(printf("Look, no semicolons!")
  {
  }
  if(printf("Dinesh_P_V"))
  {
  }
}

 

Answer by <script>alert(
Submitted on 10/19/2005
Rating: Not yet rated Rate this answer: Vote
<script>alert("muhahah");</script>

 

Answer by Anandan Selvaganapathy
Submitted on 12/5/2005
Rating: Not yet rated Rate this answer: Vote
main()
{
  switch(printf("Hello\n") { }
}

 

Answer by Ajith
Submitted on 1/30/2006
Rating: Not yet rated Rate this answer: Vote
void main()
{
printf("No Semicolon")
printef("Don't ask such silly questiens")
getch()
}
please don't compile it

 

Answer by manu
Submitted on 2/18/2006
Rating: Not yet rated Rate this answer: Vote
#include <stdio.h>

main()
{
  if (printf("Hello, world!")) {}
}

 

Answer by Mayank Kaushik
Submitted on 5/7/2006
Rating: Not yet rated Rate this answer: Vote
Well, this is verrrry easy....Follow the steps....


1 ) Open Microsoft Word.  

2 ) Turn on CAPS lock.    

3 ) Type in word.. "I N D I A ".  

4 ) Connect a Printer to your computer and take a print-out.  

5 ) Hence, the problem is solved...you have printed INDIA without using any semi-colons....          

P.S. I did this without even writing a program....  

 

Answer by SantaCruzDad
Submitted on 7/9/2006
Rating: Not yet rated Rate this answer: Vote
#warning Hello world !

int main(void)
{

}

 

Answer by prasanna
Submitted on 7/25/2006
Rating: Not yet rated Rate this answer: Vote
#include <stdio.h>

main()
{
  if (printf("Hello, world!"))
{}
}



 

Answer by NANI
Submitted on 12/14/2006
Rating: Not yet rated Rate this answer: Vote
#include<stdio.h>
#include<conio.h>
void main(hello)
{
}

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ)


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.