you have to iterate through the array until you find it. Unless your array is sorted by name, the you can use a binary search etc. There is no magic way.
Just to add a simple example of what Zaita is talking about
1 2 3 4 5 6 7 8 9 10 11 12
int pos = -1;
for (int i = 0; i < 50 && pos == -1; i++)
{
// Assuming there is a char[] field called name in Stdinfo
if (strcmp(Student[i].name, "Johnson") == 0)
{
pos = i;
}
}
// variable pos is now set to the array index of Johnson if Johnson exists
// otherwise it will stay at -1