Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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; }
1 Antwort
+ 1
~ swim ~ Thank you for helping. 😊