+ 3
Wtite a program to print "Hello World!", without using semicolan?
Program is in C or in C++.
13 ответов
+ 9
i wonder why was JavaScript added in tags when you explicitly state in c & c++...
+ 8
#include <iostream>
int main()
{
if (std::cout << "Hello world!")
{
}
}
+ 7
Java:
public class Program
{
public static void main(String[] args) {
if(System.out.printf("Hello, World!")==null){}
}
}
+ 7
I never knew you could! I thought C++ and C MUST have semicolons at the back!
+ 6
@Vengat
Here is an example
https://code.sololearn.com/cuvHPsTX6sID/?ref=app
+ 4
: is a colon, not semicolon
+ 4
@Manual remove your return statement. There is a semicolon there!
+ 3
but you used semicolan in this challenge
+ 3
no...not In this program.....I know their is no semicolen....on that link you send their is semicolen..
+ 3
ohhhhhh you had deleted ...no probs😂
+ 2
thankx aklex😄
+ 2
What link? Lol
+ 2
I never posted a link :0, maybe it was someone else?