Case-sensitivity of identifiers: Difference between revisions

(Added K version)
Line 46:
 
There is just one dog named BE27A312
 
=={{header|C}}==
C is case sensitive; if it would be case insensitive, an error about redefinition of a variable would be raised.
 
<lang c>#include <stdio.h>
 
static const char *dog = "Benjamin";
static const char *Dog = "Samba";
static const char *DOG = "Bernie";
 
int main()
{
printf("The three dogs are named %s, %s and %s.\n", dog, Dog, DOG);
return 0;
}</lang>
 
=={{header|Common Lisp}}==