Thread
:
Sending "char" to "int" variable
View Single Post
•
•
Join Date: Jul 2008
Posts: 13
Reputation:
Solved Threads: 3
gautam610
Offline
Newbie Poster
Re: Sending "char" to "int" variable
0
#
2
Nov 20th, 2008
since you declare x as an integer so system allocate 2 byte for this variable & when u give input as character it converts into an integer through ASCII value & print that one.............
gautam610
View Public Profile
Find all posts by gautam610