Variable in C Language - Quiz

  • A no bit is reserved for sign
  • B rightmost bit is reserved for sign
  • C leftmost bit is reserved for sign
  • D None
  • A auto
  • B extern
  • C register
  • D main
  • A #define PI 3.14
  • B float PI = 3.14;
  • C double PI = 3.14;
  • D int PI = 3.14;
  • A 8 characters
  • B 16 characters
  • C 32 characters
  • D There is no limit
  • A Variable names cannot start with a digit
  • B They can contain alphanumeric characters as well as special characters
  • C Variable can be of any length
  • D It is not an error to declare a variable to be one of the keywords(like goto, static)
  • A newdelhi
  • B new_delhi
  • C new delhi
  • D none