Hi!!
I don't get this!!
My compiler says that variable sized object 'temp' (which happen to be an array of struct) may not be initialised.
Code:int account_number = 0 ,choice2; printf("\nHow many accounts you want to add?"); scanf("%d",&choice2); account_number += choice2; account temp[account_number]; for (int i = 0 ; i < choice2 ; i++) account temp [i] = add_account();