- 1

Why there is different codes to print hello world in different pc apps ? Which app is the best ?

12th Jun 2017, 4:39 AM
Bobby Daywalker
Bobby Daywalker - avatar
5 Respostas
0
What do you mean by apps? You probably mean LANGUAGES ?
12th Jun 2017, 6:57 AM
Mrigank Pawagi
Mrigank Pawagi - avatar
0
ok but why
12th Jun 2017, 8:13 AM
Bobby Daywalker
Bobby Daywalker - avatar
0
obviously, Because EACH language has it's own Set of Instructions. We call this instruction code as SYNTAX, which is MANIPULATED or UNDERSTOOD by the compiler of THAT language. You can understand it in the following way: In Real Life: Hello in English-Hello In Spanish-Hola In French-Bonjour In Hindi-Namaste Similarly, in COMPUTER LANGUAGES: In BASIC: PRINT "HELLO WORLD" In C: printf("Hello World"); In JavaScript: document.write("Hello World"); In PHP: echo "Hello World"
12th Jun 2017, 11:19 AM
Mrigank Pawagi
Mrigank Pawagi - avatar
0
but in c++ and in different software of c++ it is different
13th Jun 2017, 7:05 AM
Bobby Daywalker
Bobby Daywalker - avatar
0
that because of difference on compiler version
16th Jul 2017, 10:03 AM
Mrigank Pawagi
Mrigank Pawagi - avatar