How To Execute C Program Without Using Semi Colon

Step 1: Open Turbo C++ Application and file->New Window.

New Window

Step 2: Type the following C language coding, given below:

  1. #include < stdio.h >   
  2. #include < conio.h > Void main()   
  3. {  
  4.         Clrscr();  
  5.         If(printf(“without demi colon program”)) {}  
  6.         getch();  
  7. }  
Coding

Step 3: Compile the program, using shortcut Alt+F9 (or) Compile->Compiler.

Coding

Step 4: Run the program, using shortcut key Ctrl+F9 (or) Menu option Run.

 

Run
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now