Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 answers
573 users
#include <iostream> using namespace std; struct Test { float book_price; int book_tax; }; int main() { Test arr[] = { { 4, 6 }, { 1, 7 }, { 11, 5 }, { 8, 6 }, { 2, 3 }, { 7, 5 } }; cout << sizeof arr / sizeof arr[0]; return 0; } /* run: 6 */