source:
doc/theses/rob_schluntz_MMath/examples/tuples/assign.c@
508671e
| Last change on this file since 508671e was 67982887, checked in by , 7 years ago | |
|---|---|
|
|
| File size: 165 bytes | |
| Rev | Line | |
|---|---|---|
| [9c14ae9] | 1 | int x, z; |
| 2 | double y; | |
| 3 | [double, double] f(); | |
| 4 | ||
| 5 | int main () { | |
| 6 | [x, y, z] = [f(), 3]; // multiple assignment | |
| 7 | // [x, y, z] = 1.5; // mass assignment | |
| 8 | } | |
| 9 |
Note:
See TracBrowser
for help on using the repository browser.