aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C programming
  • Which of the following format specifiers is used in 'C' t...
Multiple choice

Which of the following format specifiers is used in 'C' to print an integer argument in hexadecimal base?

  1. %o

  2. %g

  3. %s

  4. %x

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

This format specifier is used in 'C' to print an integer argument in hexadecimal base.

Keep practicing — related questions

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