I want to create a program that prints the address of an int, a float and a double.
int main()
{
int a;
float b;
double c;
printf("\na:%d \nb:%f \nc:%lf", &a, &b, &c);
}
But in the end all I get is the address of the int. For the other two the answer is 0.00000.