why I am getting 0.000000 as marks instead of 92.500000? Is there something to do with float in structures or something wrong in my code?
#include<stdio.h>
struct student
{
    char name[10];
    int age;
    int roll_no;
    float marks; 
};
int main()
{
    struct student s={"nick", 20, 52, 92.5};
    print(s.name,s.age,s.roll_no,s.marks);
}
void print(char name[],int age,int roll_no,float marks)
{
    printf("%s %d %d %f\n",name,age,roll_no,marks);//output:nick 20 52 0.000000
}
 
     
     
    