fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3. #include <string.h>
  4. int main()
  5. {
  6. struct magaz { unsigned indx ; char titl[30] ;} mg[]={{123,"New Generation"},{144,"Brunny"}},*q=mg;
  7. printf("1.%s (%d) ->%s\n2.%c-%u", q->titl+4,(*mg).indx,q->indx&1 ? "Yes": "No",*(q+1)->titl, mg[1].indx%10);
  8. return 0;
  9. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
1.Generation (123) ->Yes
2.B-4