In: Computer Science
Which of the followings are an acceptable and which of the followings are not an acceptable variable name? In case of unacceptable justify your answer, i.e., why not acceptable?
M
1_Name
#_Name
My Friend
name
We_Are_All_Friends
M acceptable 1_Name not acceptable Because names should not starts with number #_Name not acceptable Because names should not starts with special characters My Friend not acceptable Because names should not contains space name acceptable We_Are_All_Friends acceptable