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

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?