aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Aptitude
  • Which of the following format specifiers is used to print...
Multiple choice

Which of the following format specifiers is used to print integers?

  1. %c

  2. %d

  3. %f

  4. %l

  5. %s

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

%d is used to print integers.

Keep practicing — related questions

  • ____ and ____ are the format specifiers used to print integers.
  • Which of the following format specifiers is used in 'C' to print an integer argument in hexadecimal base?
  • Which format specifier is used for printing an unsigned integer in hexadecimal number system?
  • Which of the following type specifier is invalid in printf() functions?
  • Which of the following format specifiers is used to process unsigned hexadecimal values?
  • Which of the following codes is used to print a signed decimal integer?
  • Which of the following type specifier is invalid in print f ( ) functions
  • Which one of the following printf() format specifiers indicates to print a double value in decimal notation...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy