Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Which of the following is true for variable names in C?
  2. A.
    They can contain alphanumeric characters as well as special characters.
    B.
    It is not an error to declare a variable to be one of the keywords(like goto, static)
    C.
    Variable names cannot start with a digit.
    D.
    Variable can be of any length.

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    According to the syntax for C variable name, it cannot start with a digit.


Be The First To Comment