with out semicolon

Home Forums C Programming with out semicolon

This topic contains 2 replies, has 2 voices, and was last updated by  Humayan 10 years, 8 months ago.

  • Author
  • #2076

    Can  u  write  a  ‘C’  program  with out using semicolon ?
    U  should not use any macros…

  • #3356


    I guess that depends on your definition of  “a program”. You could just do this:

    This is a do nothing program. The lack of semicolons rules out most expressions and declarations , ect. You could add an empty loop:

    Heres a copy of the C grammar that you can check out to maybe find more:

  • #3357


    Hes another:

    I think you could build an entire program this way. Have to think about this!

You must be logged in to reply to this topic.