Computer Science Fundamentals
Algorithms
Subjective
Feb 24, 2013
What is a sentinel? What is its usage?
Detailed Explanation
A Sentinel is a special character that cannot be part of the source program. Normally we use ‘eof’ as the sentinel. This is used for speeding-up the lexical analyzer.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts