answersLogoWhite

0

Subjects>Science>Engineering

WRITE A Program to convert integar to hexadecimal in c language?

User Avatar

Anonymous

∙ 15y ago
Updated: 8/11/2023

Use the %X modifier of printf.

Code Example:#include int main(void) { unsigned int iMyNumber = 255; printf("The number %u interpreted as hexadecimal is %X.\n", iMyNumber, iMyNumber); return 0; }
User Avatar

Wiki User

∙ 15y ago
Copy

What else can I help you with?

Continue Learning about Engineering
Related Questions

Can you covert 157.48 cm to integer?

i want to convert 157.48 into integar


The product of three greater than a negative integar and twelve less than four times the integar is equal to 64 determine the integer?

-5


How to convert 157.48cm into integar?

157.48 cm = 157 cm (rounding down) or 158 cm (rounding up) 157.48 cm = 62 inches (rounding up) or 61 inches (rounding down)


Is pi an integar number?

no. integers are 0 1 2 3 4 5 6 etc and their negatives


How do you find smallest integar number from a set of numbers?

Start counting from ' 1 '. The first number you name that is a member of the set is the smallest integer in the set.


What is the Meaning of non integer?

an integer is a whole number so any fraction or decimal is a non-integer. for example 4 is an integar but 4.865 or 8/32 re not integars


Is -3 a integer?

Yes, integers are all whole, negative and positive numbers, including 0.


Trending Questions
What does green field project mean? What is a handle in Windows Programming? What are the Uses of electronic hand tools? How you work character type data in array c plus plus? How long does it take install 800 SF of engineered hardwood floors? Why is the number 7 considered as a magic number in software engineering? What is the algorithm for cosine series? What do ENIAC mean? Program to copy one file into another using command line arguments? Application of heat transfer in your daily life? Can you restrict the flow on a submersible without harming the motor? How do you assign a keyboard key to a Button in Visual Basic? What are the real world applications of breadth first search and depth first search? When was the shoelace invented? What is the best selling CAM program in the world? Drive a relation between E and G? What are the early uses of nylon? Size of a variable without using sizeof operator? Give you one sentence with the word persevrance in it? How did post it notes get invented?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues
Answers Logo
Copyright ©2025 Answers.com | Lunias Media Inc. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.