C 练习实例45
C 语言教程
· 2019-02-21 23:13:50
题目:学习使用register定义变量的方法。
程序分析:无。
程序源代码:
// Created by www.codercto.com on 15/11/9. // Copyright © 2015年 码农教程. All rights reserved. // #include <stdio.h> int main() { register int i; int tmp=0; for(i=1;i<=100;i++) tmp+=i; printf("总和为 %d\n",tmp); return 0; }
以上实例输出结果为:
总和为 5050
点击查看所有 C 语言教程 文章: https://www.codercto.com/courses/l/17.html
Data Structures and Algorithm Analysis in Java
Mark A. Weiss / Pearson / 2011-11-18 / GBP 129.99
Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course wa......一起来看看 《Data Structures and Algorithm Analysis in Java》 这本书的介绍吧!