29.11 Answers to Chapter Questions

I l @ ve RuBoard

Answer 29-1: The compiler didn't see our default line because we misspelled "default" as "defualt." This was not flagged as an error because "defualt" is a valid goto label. That's why when we compile the program we get the following warning:

 def.c(26): warning: defualt unused in function main 

This means we defined a label for a goto , but never used it.

I l @ ve RuBoard


Practical C++ Programming
Practical C Programming, 3rd Edition
ISBN: 1565923065
EAN: 2147483647
Year: 2003
Pages: 364

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net