当前位置:网站首页>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
边栏推荐
- Experiment 5 components and event handling
- A comprehensive understanding of static code analysis
- Log4net is in Net core usage
- Utgard connection opcserver reported an error caused by: org jinterop. dcom. common. JIRuntimeException: Access is denied. [0x800
- 超好用的【通用Excel导入功能】
- js递归树结构计算每个节点的叶子节点的数量并且输出
- socket编程 send()与 recv()函数详解
- . net webapi access authorization mechanism and process design (header token + redis)
- 集合之List接口
- Using jsonserialize to realize data type conversion gracefully
猜你喜欢

2022g2 boiler stoker examination question bank and online simulation examination

Web Course Design - his system

TCP three handshakes and four waves

QT dynamic translation of Chinese and English languages

JS inheritance

打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针

移植tslib时ts_setup: No such file or directory、ts_open: No such file or director

可以接收多種數據類型參數——可變參數

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
随机推荐
TCP three handshakes and four waves
Super easy to use asynchronous export function of Excel
超好用的Excel异步导出功能
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
MySQL grouping query rules
[MySQL] left function | right function
Huawei mobile ADB devices connection device is empty
Data mining series (3)_ Data mining plug-in for Excel_ Estimation analysis
"Visual programming" test paper
[MySQL] left Function | Right Function
Flink实时数仓项目—DWS层设计与实现
批量下载文件----压缩后再下载
QT dynamic translation of Chinese and English languages
socket编程 send()与 recv()函数详解
Advanced sorting - fast sorting
The query type of MySQL is very inefficient.
月薪10k-20k都无法回答的事务问题,你会吗?
Docker pulls MySQL and connects
Unity knowledge points (ugui)
2022 Shandong Province safety officer C certificate work certificate question bank and online simulation examination