Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The GNU C Programming Tutorial - Questions 20

Node:Questions 20, Previous:Further data structure examples, Up:Data structures



Questions 20

  1. What is the difference between a structure and a union?
  2. What is a member?
  3. If foo is a structure variable, how would you find out the value of its member bar?
  4. If foo is a pointer to a structure variable, how would you find out the value of its member bar?
  5. How are data usually linked to make a complex data structure?
  6. Every structure variable in a complex data structure must have its own variable name. True or false?
  7. How are the members of structures accessed in a data structure?
  8. Write a small program to make linked list that contains three nodes long and set all their values to be zero. Can you automate this program with a loop? Can you make it work for any number of nodes?

 
 
  Published under free license. Design by Interspire