hello
I need a programm In C how convert Hexadecimal to decimal plz

Recommended Answers

All 3 Replies

Who doesn't...

Here's a simple one:

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char**argv)
{
	fprintf(stdout, "ans->%u\n", 0xe5f6b7);
	exit(EXIT_SUCCESS);
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.