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

phkarl / 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 39184b47 authored 6 years ago by phkarl's avatar phkarl
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Upload New File

parent 779a6dcd master
Hide whitespace changes
Inline Side-by-side
Showing with 20 additions and 0 deletions
  • Lab4BonusTask.c
Lab4BonusTask.c 0 → 100644
View file @ 39184b47
#include <stdio.h>
#include <string.h>
int main(){
char array_of_strings[10][40];
char string[40]
printf("Enter 10 names...\n");
for(i = 0; i < 10; i++){
printf("Enter 10 names...\n");
printf("Enter String %d\n", &i);
scanf("%s", string[]);
strcpy(array_of_strings[i], string);
}
for(i = 0; i < 10; i++){
printf("%s\n", array_of_strings[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