The for-init-statement can be anything that is a valid expression-statement (such as i = 0;) or simple-declaration (such as int i = 0;). The statement int i = 1, double i2 = 0; is not a valid simple-declaration according to the spec, so it is not valid to use with for
Отправлено
DASM (89.163.14.219) 02 марта 2011, г. 12:17
В ответ на: вопрос знатокам СИ отправлено
mandigit 02 марта 2011, г. 11:53