TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: prabir senapati
from: Jasen Betts
date: 2004-01-14 07:23:50
subject: [C] An interesting question

Hi prabir.

12-Jan-04 13:13:56, prabir senapati wrote to Roy.J..Tellason!1.270.615.0{at}filegat


 ps> From: prabir senapati 

 ps> Hi, there! Can anyone explain me, how and why sometimes in API's
 ps> or userdefined functions, we use to declare (store) a character in
 ps> an int datatype, or in other words , store a char variable in an
 ps> int storage ?? Many C API's like int getc(FILE *fp)

The smallest data type C can put in a function parameter or return from a
function is short int, the most efficient for speed is int

 -=> Bye <=-

---
* Origin: Keyboard not connected, press to continue. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.