Geeks Talk

Prepare for your Next Interview




Question with EOF

This is a discussion on Question with EOF within the C and C++ forums, part of the Software Development category; Does EOF have an integer value associated with it. If so is that a fixed value and can we print that using %d format specifier....


Go Back   Geeks Talk > Software Development > C and C++

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-13-2006
Expert Member
 
Join Date: May 2006
Location: New York, USA
Posts: 118
Thanks: 0
Thanked 6 Times in 4 Posts
RyanJames is on a distinguished road
Question with EOF

Does EOF have an integer value associated with it. If so is that a fixed value and can we print that using %d format specifier.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-16-2006
Contributing Member
 
Join Date: May 2006
Posts: 79
Thanks: 0
Thanked 5 Times in 4 Posts
fred is on a distinguished road
Re: Question with EOF

The EOF has an integer value associated with it. Though it is -1 it cannot be generalized and the value is system dependent and so you cannot print it using %d specifier.
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Simple question in Session Variables sripri PHP 1 07-16-2006 12:16 PM


All times are GMT -4. The time now is 01:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved