C Programming Language Structure in C Language
⚠ Report Question ✓ Question Verified
#include struct student { char *name; }; struct student s; struct student fun(void) { s.name = "newton"; printf("%s\n", s.name); s.name = "alan"; return s; } void main() { struct student m = fun(); printf("%s\n", m.name); m.name = "turing"; printf("%s\n", s.name); }
Learn More MCQ Questions from C Programming Language Structure in C Language
Assess your knowledge of structures in C programming with these multiple choice questions. Learn about the different types of structures in C and how to use them to create complex data structures in your programs. Take the quiz now!