Q:

IS IT POSSIBLE TO PRINT “HELLO WORLD” WITHOUT SEMICOLON IN C? HOW?

0

 IS IT POSSIBLE TO PRINT “HELLO WORLD” WITHOUT SEMICOLON IN C? HOW?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Yes. It is possible to print “Hello World” without semicolon in C program. Please refer below example program.

This program prints “Hello World” in console window and returns 11 which is the value of string length.

#include <stdio.h>
int main()
{
if(printf(“Hello World”))
{
/* Do nothing */
}
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now