0

Why i cant run this program ?

#include <stdio.h> void main() { printf("Hello World!!"); }

14th Jan 2017, 5:32 AM
Parshwa Timbadia
Parshwa Timbadia - avatar
4 Réponses
+ 3
it works ok for me, btw its c/c++ code not c# as ur tag says
14th Jan 2017, 6:08 AM
Kawaii
Kawaii - avatar
+ 3
it will work if your using a c or c++ complier . of course it wont work on c#
14th Jan 2017, 6:34 AM
Ihab Taleb
Ihab Taleb - avatar
+ 2
in c# WE use Console.writeline instead of printf
14th Jan 2017, 7:04 PM
Swati tiwari
Swati tiwari - avatar
+ 1
if you need it to work in C# you should make it like this : static void main (){ Console.WriteLine ("Hello World!!"); }
14th Jan 2017, 12:59 PM
Ahmad Hamdan
Ahmad Hamdan - avatar