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
Switch branch/tag
  • iax0583
  • stringhlib.c
Find file
BlameHistoryPermalink
  • matjul's avatar
    Upload New File · 44ae1770
    matjul committed 6 years ago
    44ae1770
stringhlib.c 272 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "stdio.h"
#include <string.h>
int main () {
	
	char string1[40] = "this is a string";
	char string2[] = "so is this";
	
	int length = strlen(string1);
	printf("%d", length);
	strcat(string1, " ");
	strcat(string1, string2);
	printf("%s", string1);
	
	return 0;
}