C MCQ set number 00722

1. What is the output of this C code? #include <stdio.h> struct student { char *c; struct student *point; }; void main() { struct student s; struct student m; s.c = m.c = “hi”; m.point = &s; (m.point)->c = “hey”; printf(”%st%st”, s.c, m.c); } a) hey hi b) hi hey c) Run time error d)…

This content is for paid premium members only.
You can view complete answer after activation your membership.
Buy membership
Already a member? Log in here
ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.