Variables


  1. C99 standard guarantees uniqueness of _____ characters for external names.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    ISO C99 compiler may consider only first 31 characters for external names.


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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    int a = 12; is a valid variable name declaration.



  1. What is the problem in following variable declaration?
    float 2B-H-K?;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    A variable name cannot start with an integer, along with that the C compiler interprets the ‘-‘ and ‘?’ as a minus operator and a question mark operator respectively.


  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. All keywords in C are in ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    LowerCase letters