//Make a structure to store Bank account information of a customer of
// ABC bank .Also, make an alias of it.
#include <stdio.h>
typedef struct BankAccount{ //initialising structure along with alias
int accountNo;
char name[100];
} acc ;
int main(){
acc acc1 = {123,"Shradha"};
acc acc2 = {124,"Aman"};
acc acc3 = {125,"Ravi"};
printf("Acc no. = %d\n",acc1.accountNo); //accesing of attributes of the structure
printf("Name = %s",acc1.name);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: