Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure Programming in C
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);