Write a Program Through Structure To Print a Name,Rollnumber,Account Number,And Balance
#include<stdio.h>
#include<conio.h>
struct bank
{
char *name;
int rolnum;
float balance;
char *account;
};
int main(){
struct bank mybank;
mybank.name="ammarnisar";
mybank.account="alpha2334";
mybank.balance=2300;
mybank.rolnum=1199;
printf("name : %s \n roll number:%d \n balance:%.f \n account number:%s",mybank.name,mybank.rolnum,mybank.balance,mybank.account);
getch();
}