NEC Electrical | 0 | Question 75

What does the format specifier %10d in printf("%10d",num); do?

NEC model paper — Electrical Engineering (undated)

Aprints the number in a field of 10 columns
Bprints the number with leading zeros in a field of 10 columns
Cprints only the number without any extra spaces
Dprints the number left-aligned in a field of 10 columns
Checking answer access…

Report a question issue

Tell us what needs checking.

Review and send the email draft in Gmail. Nothing is sent automatically.

Reports go to hello@licensepreparationnepal.com.