Buscar

PROG1

Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original

/* TIPOS DE VARIABLES */
#include <stdio.h>
#include <stdlib.h>
int main ( )
{
	 	int I ;
		 
		printf("\n\n\n LA VARIABLE I MIDE %d BYTES %d bits" , 
		sizeof(I) , sizeof(I)*8 );
	 	printf("\n\n\n" );
	 	
		printf("\n\n char %d BYTES %d bits" , 
		sizeof(char) , sizeof(char)*8 );
		printf("\n\n short int %d BYTES %d bits" , 
		sizeof(short int) , sizeof(short int)*8 );
		printf("\n\n long int %d BYTES %d bits" , 
		sizeof(long int) , sizeof(long int)*8 );
		printf("\n\n float %d BYTES %d bits" , 
		sizeof(float) , sizeof(float)*8 );
		printf("\n\n double %d BYTES %d bits" , 
		sizeof(double) , sizeof(double)*8 );
		printf("\n\n long long int %d BYTES %d bits" , 
		sizeof(long long int) , sizeof(long long int)*8 );
		
	 	printf("\n\n\n" );
	 	
	 
	 return 0 ;
}

Teste o Premium para desbloquear

Aproveite todos os benefícios por 3 dias sem pagar! 😉
Já tem cadastro?

Continue navegando