#include #include using namespace std; struct test { char ch; int num; }; int main() { test obj1{ 'a', 4 }; test obj2{ 'b', 5 }; test obj3{ 'c', 6 }; ofstream outF("Structs.bat", ios::binary); if (!outF.is_open()) { cout << "Error while opening file"<