Arrow operator used with pointers to structure variables a True b False Q3

Arrow operator used with pointers to structure

This preview shows page 2 - 4 out of 4 pages.

8. Arrow operator (->) used with pointers to structure variables a. Trueb. False Q3. Which operator is used to access the Structure members?
Image of page 2
Q4. Structure is defined as Q5. What does the data type defined by structure will do. Q6. What is the size (in bytes) allocated for given structure variable S (if integer take 2 bytes)?struct student{char name[10];int roll;float cgpa;}S; a.10b.11c.12d.16Ans: d Which function is used to read character from file a) fopen() b) fgets() c) fgetc() d) none Which indicate end of file a) -1 b) EOF c) both d) none
Image of page 3
Which file mode can read and write both a) r+ b) w+ c) a+ d all Which file mode can create, read and write file a) r+ b) w+ c) a+ d both b anc
Image of page 4

You've reached the end of your free preview.

Want to read all 4 pages?

  • Spring '18
  • Aman
  • Pointer, Garbage collection

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors