#include <stdio.h>
#include <string.h>
typedef struct lens
{
float foclen;
float fstop;
char brand[30];
} LENS;
int main(void)
{
LENS arr[10];
arr[2].foclen= 300;
arr[2].fstop= 2.0;
strcpy(arr[2].brand,"Remarkata");
LENS brr[10]={[2]={300,2.0,"Remarkata"}};
printf("a.%f %f %s\n",arr[2].foclen,arr[2].fstop,arr[2].brand);
printf("b.%f %f %s\n",brr[2].foclen,brr[2].fstop,brr[2].brand);
return 0;
}