1 2 3 4 5 6 7 8 9 10 11 12
#include <stdio.h> int main() { struct tag{ int a; float b; }; struct tag t={10,10.23f}; printf("%d, %.02f\n",t.a,t.b); return 0; }
1
10, 10.23