Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
int main()
{
long decimalnum, remainder, quotient;
int i = 1, j, temp;
char hexadecimalnum[100];
printf("Enter decimal number: ");
scanf("%ld", &decimalnum);
quotient = decimalnum;
while (quotient != 0)
{
temp = quotient % 16;
// To convert integer into character
if (temp 0; j--)
printf("%c", hexadecimalnum[j]);
return 0;
}