Introduction to Data Types in C - Quiz

  • AProgram will compile and print the output ATNYLA
  • B Program will compile and print ATNYLA for 5 times
  • C Program will compile and print the ASCII value of ATNYLA
  • DThe compiler will flag an error
  • Achar > int > float
  • Bint > char > float
  • Cchar < int < double
  • Ddouble > char > int
  • A(float)2.76
  • B2.76f or 2.76F
  • C2.76 itself of "float" data type i.e. nothing else required.
  • Dfloat(2.76)