In C Programming, which of the following scanf() statements is correct to read -

double x;

float y;

1
scanf("%f%f",x,y);
2
scanf("%lf%lf",x,y);
3
scanf("%f%lf",&x,&y);
4
scanf("%lf%f",&x,&y);

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation