+ 2

Can I set a variable name just an capital alphabet ?

I tried setting a variable name 'S'. But it didnt work. Then when I set it to 's' it worked. So capital letter won't work for variable?

23rd May 2019, 5:12 PM
Mahadi Hasan Fahim
Mahadi Hasan Fahim - avatar
4 odpowiedzi
+ 5
Can you show your code?
24th May 2019, 1:57 AM
Sonic
Sonic - avatar
+ 3
Although c is a case sensitive language even then capital letter can be used for declaring a variable. If u have any problem show me your code .
24th May 2019, 12:19 PM
Raghav Singla
Raghav Singla - avatar
0
Yes, we can in Java...C...
26th Jun 2019, 11:11 AM
RIMA SHAW
RIMA SHAW - avatar