当前位置:网站首页>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
边栏推荐
- WinForm allows the form form to switch between the front and active states
- String input problem
- Preview of converting doc and PDF to SWF file
- Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
- 2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)
- General test technology [II] test method
- The website JS in. Net core cefsharp chromium WebBrowser calls the C method in winfrom program
- Problem a: face recognition
- C set
- JS implementation of new
猜你喜欢

Peut recevoir plusieurs paramètres de type de données - paramètres variables
![[vs Code] solve the problem that the jupyter file displays exceptions in vs code](/img/f6/a91d03fd140eb5f7688b72e2e6f2bb.png)
[vs Code] solve the problem that the jupyter file displays exceptions in vs code

12. < tag linked list and common test site synthesis > - lt.234 palindrome linked list

Node configuration environment CMD does not take effect

2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)

Test questions (2)

《C语言程序设计》(谭浩强第五版) 第9章 用户自己建立数据类型 习题解析与答案
![Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]](/img/1a/a22b4a35d3c083438d0f766a5ecb08.png)
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]

Experiment 6 input / output stream

Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
随机推荐
Super easy to use asynchronous export function of Excel
Explanation keyword of MySQL
Batch download of files ---- compressed and then downloaded
打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针
C abstract class
C-11 problem I: find balloon
Iotos IOT middle platform is connected to the access control system of isecure center
Oracle query foreign keys contain comma separated data
C set
Scenario Title: how does system a use the page of system B
C-11 problem h: treasure chest 2
场景题:A系统如何使用B系统的页面
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
打卡:4.23 C语言篇 -(1)初识C语言 - (12)结构体
Cefsharp stores cookies and reads cookies
JS implementation of new
Advanced sorting - fast sorting
js递归树结构计算每个节点的叶子节点的数量并且输出
Problem a: face recognition
A set of combination boxing to create an idea eye protection scheme