Какое сообщение будет выведено на экран в результате выполненния приведенной программы?int main (void){ struct student { char *name; char *birthday; int group; } s1, s2; int s; s1.name = "Ivanov"; s1.birthday = "10.03.1985"; s1.group = 1014; s2.name = "Petrov"; s2.birthday = "08.04.1985"; s2.group = 1309; s2.group = s1.group; if (s2.group == s1.group) printf("Students %s and %s are studying in the same group\n", s1.name, s2.name); else printf("Students %s and %s are not studying in the same group\n", s1.name, s2.name); return 0; }
(Отметьте один правильный вариант ответа.)
Варианты ответа
при выполнении программы возникнет ошибка
Students Ivanov and Petrov are studying in the same group(Верный ответ)
Students Ivanov and Petrov are not studying in the same group