0
How does the following code work?
#include <iostream> using namespace std; int main() { struct {int a[2];} arr[]={{1},{2}}; cout<<arr[0].a[0]<<" "<<arr[0].a[1]<<" "<<arr[1].a[0]<<" "<<arr[1].a[1]; return 0; }
3 Respuestas
+ 1
~ swim ~ Thank you for helping. 😊