#Meta-Wlp: #Macro: TITLE wlp: Learn C (5) p. 3
#include<stdio.h> int main(int argc, char * argv) { struct name { char * first ; char * last ; } ; struct name n1 ; n1.first = "dylan" ; n1.last = "thomas" ; printf("%s %s\n", n1.first, n1.last ) ; }That does the name name refer to? #Shuffle: none $PAGE$-A $PAGE$-B $PAGE$-C $PAGE$-D Return to Learn C Introduction #: It is a structure tag. When struct name is used together, it is like a new data type. So n1 is declared type stuct name. #: It is the name of a variable. #: It is the name of a singer famous long ago. #: There are too many names named name. It just won't work. #: