The name of a variable in the C programming language is a st
The name of a variable in the C programming language is a string that can contain uppercase letters, lowercase letters, digits, or underscores. Further, the first character much be a letter (either upper or lower case) or an underscore. If the name of a variable is determined only by its first 8 characters (the rest are ignored), how many different variables can be named in C?
Solution
Upper case letters =26
Lowercase letters =26
numbers in one digit = 10
underscore = 1
total possiblities in any possition except first possition = 63
in first possition the total possiblites = 53
the different variables can be named ic C= 53*(63)^7 = 208,765,973,875,851
