0

Veriables beginning with capital letter are called constant.can we apply this in c also?

28th May 2017, 5:03 PM
Sneha Gursale
Sneha Gursale - avatar
2 Antworten
+ 2
No, any case can be used to name a constant but it must be preceded by the following word (#define) just a little bit similar to the PHP way, no equal to sign after var name eg; #define age 18
28th May 2017, 5:12 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
thanx got it
28th May 2017, 5:19 PM
Sneha Gursale
Sneha Gursale - avatar