Need your help in this code too..
this is the program to convert any entered number into its hexadecimal equivalent but the problem is that same result is printed for any number...:'( :'(
int main (void)
{
int n;
printf("Enter Number :");
scanf("%d", n);
printf("Hexadecimal Equivalent %x", n);
getch();
return 0;
}