+ 9

Is there a difference in writing variables, in different languages?

27th Feb 2018, 7:04 AM
Katleho Nthejane
Katleho Nthejane - avatar
5 odpowiedzi
+ 5
Maybe he's referring to declaring variables. Yes, there is a difference. In python, you don't need to declare variables with datatypes. Use them as per the need. In C, you need to declare variables with datatypes right when your main function starts. (exceptions included) Example: int number; In pHp, you need to add a dollar sign before the name of the variable. Example: $number; and so on.. Slightly changed syntax but the concept remains exactly the same. I may be wrong at some instances. please let me know.
27th Feb 2018, 7:21 AM
Abbas Ali
Abbas Ali - avatar
+ 8
sorry I was'nt clear enough, but I think Abbas understood my question
27th Feb 2018, 7:27 AM
Katleho Nthejane
Katleho Nthejane - avatar
+ 1
Yes there is, but what exactly do you mean?
27th Feb 2018, 7:18 AM
Rom K
Rom K - avatar
0
sir I want a help please give ur email or my email: bvishwkarma461@gmail.com
7th Mar 2018, 3:58 PM
Bhupendra Vishwkarma
Bhupendra Vishwkarma - avatar
0
:-)
28th Mar 2018, 4:49 PM
NDLELA MOTABA