Live quiz

C Programming - Part 59

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C code? #include <stdio.h> struct student { char *name; }; void main() { struct student s, m; s.name = "st"; m = s; printf("%s%s", s.name, m.name); }

  • A
  • B
  • C
  • D