How Will You Print Hello World In C Language Without Semicolon? Code Example


Example: hello world without semicolon in c

//there are many methods to print hello world or something else without semicolon: //here are some....  #include<stdio.h> int main() { 	if(printf("hello world"))   return 0; }  //OR  #include<stdio.h> int main() { 	while(!printf("hello world")){}    //if '!' symbol is not placed then it will be an infinite loop   return 0; }  //OR  #include<stdio.h> int main() { 	switch(printf("hello world")){}   return 0; } //Code By Dungriyal

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable