Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pyramid!prls!mips!zorba!stl!stc!ukc!mcvax!uunet!husc6!bloom-beacon!mit-eddie!rutgers!mtunx!whuts!homxb!mtuxo!mtgzz!ad0 From: ad0@mtgzz.att.com (XMRN10000[saf]-a.dhingra) Newsgroups: comp.unix Subject: difference between putc and fputc Keywords: putc,fputc,question,interesting,curious Message-ID: <4215@mtgzz.att.com> Date: 20 Mar 89 22:26:32 GMT Sender: dtynan@zorba.Tynan.COM Organization: AT&T, Middletown NJ Lines: 9 Approved: dtynan@zorba.Tynan.COM What is the difference between putc and fputc ? One is a macro and the other is a function. One runs faster than the other and the other one occupies lesser space each invocation. How does this happen ? Please e-mail. I'll definitely post the answer. amarjit ..ihnp4!mtgzz!ad0