Home - Search - Members
Full Version: Converting Between Types
Teeha
Jul 3 2008, 3:34 PM
hi
can i Converting Between Types in Keil , from char to int
Ajay
Jul 3 2008, 10:51 PM
yes you can do.. its called typecasting in C..

ex:

CODE:
int x;
char y = 20;

x = (int) y;
 
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Rickey's World © 2003 - 2007