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 for Chapter 11

Node:Questions for Chapter 11, Previous:Nested loops, Up:Loops



Questions for Chapter 11

  1. How many kinds of loop does C offer, and what are they?
  2. When is the condition tested in each of the loops?
  3. Which of the loops is always executed at least once?
  4. Write a program that copies all input to output line by line.
  5. Write a program to get 10 numbers from the user and add them together.
  6. Rewrite the nested loops example to print a square with while loops instead of for loops.

 
 
  Published under free license. Design by Interspire