+ 3

Wtite a program to print "Hello World!", without using semicolan?

Program is in C or in C++.

31st Aug 2017, 6:22 AM
vishal
vishal - avatar
13 ответов
+ 9
i wonder why was JavaScript added in tags when you explicitly state in c & c++...
31st Aug 2017, 7:31 AM
Lord Krishna
Lord Krishna - avatar
+ 8
#include <iostream> int main() { if (std::cout << "Hello world!") { } }
31st Aug 2017, 6:28 AM
aklex
aklex - avatar
+ 7
Java: public class Program { public static void main(String[] args) { if(System.out.printf("Hello, World!")==null){} } }
31st Aug 2017, 6:56 AM
ChaoticDawg
ChaoticDawg - avatar
+ 7
I never knew you could! I thought C++ and C MUST have semicolons at the back!
31st Aug 2017, 7:05 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
31st Aug 2017, 7:15 AM
Manual
Manual - avatar
+ 4
: is a colon, not semicolon
31st Aug 2017, 6:32 AM
aklex
aklex - avatar
+ 4
@Manual remove your return statement. There is a semicolon there!
31st Aug 2017, 7:18 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
but you used semicolan in this challenge
31st Aug 2017, 6:30 AM
vishal
vishal - avatar
+ 3
no...not In this program.....I know their is no semicolen....on that link you send their is semicolen..
31st Aug 2017, 6:34 AM
vishal
vishal - avatar
+ 3
ohhhhhh you had deleted ...no probs😂
31st Aug 2017, 6:43 AM
vishal
vishal - avatar
+ 2
thankx aklex😄
31st Aug 2017, 6:28 AM
vishal
vishal - avatar
+ 2
What link? Lol
31st Aug 2017, 6:41 AM
aklex
aklex - avatar
+ 2
I never posted a link :0, maybe it was someone else?
31st Aug 2017, 6:50 AM
aklex
aklex - avatar