aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/ask/lista1/test.c
blob: 0f3c11e2ec17e767ab6a2e78c5f9645c91ecce77 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdint.h>
#include <stdio.h>

int main()
{
  int x;
  short y;
  x = -10;
  y = (short)x;
  printf("%d %hd", x, y);
}