BUT2/DEV/DEV1.1/CM1/Q2_Constante.c

11 lines
224 B
C
Raw Normal View History

2023-10-23 13:23:36 +02:00
#include<stdio.h>
#include<stdlib.h>
int main(void){
char caractere='9';
long int longEntier=9L;
float decimal = 9.0L;
int hexa= 0x9;
printf("%c %ld %1.0f %d\n",caractere, longEntier, decimal, hexa);
return 0;
}