Skip to main content

01 C Programmiersprache

Lilya 黑静美Original...About 1 minProgrammCcppC井

1. Was ist C Programmiersprache?

C ist eine imperativeopen in new window und prozeduraleopen in new window Programmierspracheopen in new window. Die Anwendungsbereiche von C sind sehr verschieden. Sie wird zur System-open in new window und Anwendungsprogrammierungopen in new window eingesetzt. Die grundlegenden Programmeopen in new window aller Unixopen in new window-Systeme und die Systemkernelvieler Betriebssystemeopen in new window sind in C programmiert. Der Informatiker Dennis Ritchieopen in new window entwickelte C-Sprache in den frühen 1970er Jahren an den Bell Laboratoriesopen in new window.

Sure, here's the information formatted into a Markdown table in English:

TypeBytesOther NamesValue Range
short2short int, signed short int-32,768 to 32,767
unsigned short2unsigned short int0 to 65,535
int4signed-2,147,483,648 to 2,147,483,647
unsigned int4unsigned0 to 4,294,967,295
long4long int, signed long int-2,147,483,648 to 2,147,483,647
unsigned long4unsigned long int0 to 4,294,967,295
long long8None (equivalent to __int64 in c++ but not in C)-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
unsigned long long8None0 to 18,446,744,073,709,551,615
float4None3.4E +/- 38 (7 significant figures)
double8None1.7E +/- 308 (15 significant figures)
C++
long doubleSame as doubleNoneSame as double
__int81char-128 to 127
unsigned __int81unsigned char0 to 255
__int162short, short int, signed short int-32,768 to 32,767
unsigned __int162unsigned short, unsigned short int0 to 65,535
__int324signed, signed int, int-2,147,483,648 to 2,147,483,647
unsigned __int324unsigned, unsigned int0 to 4,294,967,295
unsigned __int648unsigned long long0 to 18,446,744,073,709,551,615
__int648long long, signed long long-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Let me know if you need any further assistance!

Last update:
Contributors: Heijingmei
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v3.1.3