程序设计基础-2021级 (南京信息工程大学)

  • 文豪的实验四

    #include<stdio.h> const int N=4; int main() { int a[N]={2,0,2,1}; char b[N]={'2','0','1','1'}; int i; printf("sizeof(int)=%d\n",sizeof(int)); printf("
    淮左谪仙   2021-12-04 17:46   0   2
  • 实验4 数组

    实验4 数组 1. 实验任务1 #include <stdio.h> const int N = 4; int main() {int a[N] = {2, 0, 2, 1}; char b[N] = {'2', '0', '1', '1'}; int i; printf("sizeof(int)
    葛才璟   2021-12-04 16:57   0   3
  • 实验任务4

    #include <stdio.h> const int N = 4; int main() { int a[N] = {2, 0, 2, 1}; char b[N] = {'2', '0', '1', '1'}; int i; printf("sizeof(int) = %d\n", sizeof
    lzxy71   2021-12-04 16:20   0   2
  • 实验四

    #include<stdio.h> const int N = 4; int main() { int a[N] = { 2,0,2,1 }; char b[N] = { '2','0','2','1' }; int i; printf("sizeof(int)=%d\n", sizeof(int)
      2021-12-04 16:17   0   1
  • 实验四4

    #include<stdio.h> void dec2n(int x, int n); int main() { int x; printf("输入一个十进制数:"); scanf_s("%d", &x); dec2n(x, 2); dec2n(x, 8); dec2n(x, 16); return
      2021-12-04 16:12   0   1
  • 实验四3

    #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> const int N = 5; int find_max(int x[], int n); void input(int x[], int n); void output(int x[], int
      2021-12-04 15:42   0   0
  • 实验四

    #include <stdio.h> const int N = 4; int main() { int a[N] = {2, 0, 2, 1}; char b[N] = {'2', '0', '1', '1'}; int i; printf("sizeof(int) = %d\n", sizeof
    483石泰宁   2021-12-04 14:55   0   4
  • 实验4

    task1 #include <stdio.h> const int N = 4; int main() {int a[N] = {2, 0, 2, 1}; char b[N] = {'2', '0', '1', '1'}; int i; printf("sizeof(int) = %d\n", s
    徐垒   2021-12-04 14:50   0   2
  • 实验四

    #include <stdio.h> #define N 1000 int fun(int n, int m, int bb[N]) { int i, j, k = 0, flag; for (j = n; j <= m; j++) { flag=1; for (i = 2; i < j; i++)
    李岩岩岩岩   2021-12-04 13:18   0   1
  • 实验四

    实验任务1: 1-1源代码: #include <stdio.h> const int N = 4; int main() { int a[N] = { 2, 0, 2, 1 }; // 定义一个int型数组a,包含N个元素 char b[N] = { '2', '0', '1', '1' }; /
    彭鑫宇   2021-12-04 12:00   0   0