Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

matjul / iax0583

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 766d0511 authored 6 years ago by matjul's avatar matjul
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Upload New File

parent 9008e035 master
Show whitespace changes
Inline Side-by-side
Showing with 24 additions and 0 deletions
  • lab14task1.c
lab14task1.c 0 → 100644
View file @ 766d0511
#include <stdio.h>
#include <stdlib.h>
int main(){
int array[10];
int *pi;
int i;
for(i = 0; i < 10; i++){
array[i] = rand() % 101;
printf("%d ", array[i]);
}
printf("\n");
pi = array;
for(i = 0; i < 10; i++){
printf("%d ", *(pi + i));
}
return 0;
}
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment