ok, I need some help here,
#include <stdio.h>
int main()
{
long double x;
char s[]="3.1415926535897932384626433832795";
sscanf(s,"%Lf",&x);
printf("%24.19Lf\n",x);
return 0;
}
this works ok, but why does the following not work?
#include <stdio.h>
int main()
{
long double *x;
char s[]="3.1415926535897932384626433832795";
sscanf(s,"%Lf",x);
printf("%24.19Lf\n",*x);
return 0;
}