For struct variables s1,s2,why can I initialize “s1={25,3.5}”,assign s2 as “s1=s2”,but then can't use "s1={59,3.14}?
问题 In C we are allowed to assign the value of one structure variable to other if they are of the same type.In accordance with that, in my following program I am allowed to use s1=s2 when both are struct variables of the same type.But why then I am not allowed to use s1={59,3.14} after that? I know we can't assign a string "Test" to a character array arr other than in the initialization statement because for the string "Test" ,it decomposes to type char* during assignment and hence there is a