#include <stdio.h>
#include <conio.h>
struct cardata{
char *ownername;
char *carname;
int regno;
}
info1, info2, info3;
int main()
{
struct cardata;
info1.ownername="ammar";
info2.carname="suzuki";
info3.regno=1233;
printf("car data is ownername is %s \ncarname is %s \nregno is %d \n", info1.ownername, info2.carname, info3.regno);
getch();
}
struct cardata{
char *ownername;
char *carname;
int regno;
}
info1, info2, info3;
int main()
{
struct cardata;
info1.ownername="ammar";
info2.carname="suzuki";
info3.regno=1233;
printf("car data is ownername is %s \ncarname is %s \nregno is %d \n", info1.ownername, info2.carname, info3.regno);
getch();
}