How will you print "Hello World" without semicolon in c programming Language using #define?

C Programming Language >   C Pre-processor >   About Java Tutorial  

Short Question

705


Answer:

You can Write the below code for that

code

#include
#define semicolon ;
void main()
{
 printf("Hello World 
")semicolon
}

code

Hello World
Press any key to continue . . .


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.