#include <stdio.h> #include <conio.h> int main ( void ) { int NUM_INT=65; float NUM_FLOAT=11.11; char CH_CHAR='A'; printf ( "\n 65 (int) ---> %c (char) ", ( char ) NUM_INT ); printf ( "\n 11.11 (float) ---> %d (int)", ( int ) NUM_FLOAT ); printf ( "\n A (char) ---> %d (int)", ( int ) CH_CHAR ); getch(); return 0; }
初级程序员
by: 海大鸟 发表于:2012-09-05 23:09:05 顶(0) | 踩(0) 回复
学习学习
回复评论