当前位置:网站首页>The fourth operation
The fourth operation
2022-04-23 03:23:00 【Learn a little every day】
The fourth assignment
End of directory
Simply complete an assignment , A detailed analysis will be sent later |
One 、
About static What is not true is :( )
A.static You can modify local variables
B.static You can fix global variables
C.static The modified variable cannot be changed
D.static You can modify functions
Two 、
What is the result of the following code ?( )
A. 6,8,10,12,14
B.8,10,12,14,16
C.10,12,14,16,18
D.12,14,16,18,20
#include <stdio.h>
int sum(int a)
{
int c = 0;
static int b = 3;
c += 1;
b += 2;
return (a + b + c);
}
int main()
{
int i;
int a = 2;
for (i = 0; i < 5; i++)
{
printf("%d,", sum(a));
}
}
3、 ... and 、
The correct thing about pointers is :( )
A.sizeof(char*) The size must be 1
B. A pointer variable is a variable , It's used to store the address
C. The size of pointer variables is 4 Bytes
D. Pointer is not a variable
Four 、
BC131-kiki Learn the basics of programming
kiki Learn the basics of programming
5、 ... and 、
BC123- Xiaolele looks for the maximum number
Xiaolele looks for the maximum number
6、 ... and 、
BC27- Calculate the volume of the sphere
Calculate the volume of the sphere
7、 ... and 、
BC25- Calculate the body mass index
Calculate the body mass index
( Transferred from bit employment class )
版权声明
本文为[Learn a little every day]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230321595258.html
边栏推荐
- MySQL keyword group_ Concat, combined connection query
- Problem C: Hanoi Tower III
- 浅学一下I/O流和File类文件操作
- MySQL installation pit
- POI create and export Excel based on data
- ThreadLocal 测试多线程变量实例
- 2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
- The query type of MySQL is very inefficient.
- Chapter 7 of C language programming (fifth edition of Tan Haoqiang) analysis and answer of modular programming exercises with functions
- 12. < tag linked list and common test site synthesis > - lt.234 palindrome linked list
猜你喜欢
12. < tag linked list and common test site synthesis > - lt.234 palindrome linked list
A set of combination boxing to create an idea eye protection scheme
Experiment 5 components and event handling
Test questions and some space wars
12.<tag-链表和常考点综合>-lt.234-回文链表
Top ten project management software similar to JIRA
超好用的Excel异步导出功能
Unity knowledge points (ugui)
研讨会回放视频:如何提升Jenkins能力,使其成为真正的DevOps平台
Visual programming - drawing assignment
随机推荐
Student achievement management
超好用的【通用Excel导入功能】
数据库表中不建索引,在插入数据时,通过sql语句防止重复添加(转载)
IDEA查看历史记录【文件历史和项目历史】
General test technology [II] test method
Eight elder brothers chronicle [4]
【VS Code】解决jupyter文件在vs code中显示异常的问题
超好用的Excel异步导出功能
2022 团体程序设计天梯赛 模拟赛 L1-7 矩阵列平移 (20 分)
Docker pulls MySQL and connects
Web Course Design - his system
The website JS in. Net core cefsharp chromium WebBrowser calls the C method in winfrom program
[MySQL] left function | right function
月薪10k-20k都无法回答的事务问题,你会吗?
QT uses drag and drop picture to control and mouse to move picture
IOTOS物联中台对接海康安防平台(iSecure Center)门禁系统
Explication détaillée des fonctions send () et recv () du programme Socket
Use of ADB command [1]
Knowledge of software testing~
C abstract class