Monday, 12 March 2012

Print string or other symbol without using semicolon in programme in c


//here programme to print hello world without using semicolon
//anywhere programme


#include<stdio.h>


void main()
 {
   if(printf("hello world!"))
    {
       //when it print hello world printf will return 1
       //which is true condition for if and programme 
      //do not show any error 
    }
 }//end of main

No comments:

Post a Comment

Compiler for C,C++ and Python {paste your programme to see the output}