How to Write a C Program without semicolon in C Programming Language ?
This C Program without semicolon.
Solution:
Below are two examples to print a string without semicolon:
- #include<stdio.h>
- void main(){
- switch(printf("Hello world")){
- }
- }
- #include<stdio.h>
- void main(){
- while(!printf("Hello world")){
- }
- }