#include<stdio.h>
void main(){
if(printf(“hello world”)){} // It prints the ?hello world? on the screen.
}
Vishalini.R Answered question June 26, 2023
simple c example to print “hello world” using while loop and without using semicolon.
- #include<stdio.h>
- int main()
- {
- while(!printf(“hello world”)){}
- return 0;
- }
Vishalini.R Answered question June 26, 2023
