aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Fundamentals
  • Which of the following codes is used to print a signed de...
Multiple choice

Which of the following codes is used to print a signed decimal integer?

  1. %d

  2. %c

  3. %u

  4. %i

  5. None of the above

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

This is used to print the signed decimal integer.

Keep practicing — related questions

  • Which of the following format specifiers is used to print integers?
  • The code used for denoting unsigned decimal integer in scanf is :
  • 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 in 'C' to print an integer argument in hexadecimal base?
  • Which of the following snippets prints a representation of 42 with two decimal places?
  • Which sign is used to indicate any string of zero or more characters.
  • What does the following C statement print? print(“%d”, ++5);
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy