C Primer Plus 5th Edition 例题源码

源代码在线查看: bases.c

软件大小: 515 K
上传用户: ludingpc
关键词: Edition Primer Plus 5th
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* bases.c--prints 100 in decimal, octal, and hex */
				#include 
				int main(void)
				{
				    int x = 100;
				    
				    printf("dec = %d; octal = %o; hex = %x\n", x, x, x);
				    printf("dec = %d; octal = %#o; hex = %#x\n", x, x, x);
				    
				    return 0;
				}
							

相关资源