aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/ask/lista8/str-a.c
blob: 3b0fb361f4e644291442f6ef82f5cf7d5499fb5a (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

char *somestr(void);

int main(void) {
  char *s = somestr();
  s[5] = '\0';
  puts(s);
  return 0;
}