Variables


  1. Which of the following is not a valid C variable name?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Since only underscore and no other special character is allowed in a variable name, it results in an error.


  1. Variable name resolution (number of significant characters for the uniqueness of variable) depends on ___________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    It depends on the standard to which compiler and linkers are adhering.



  1. All keywords in C are in ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    LowerCase letters


  1. Why do variable names beginning with the underscore is not encouraged?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    To avoid conflicts since library routines use such names



  1. Which of the following is not a valid variable name declaration?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Variable name cannot start with a digit.