The C Programming Language is quite possibly the most influential language of all time. It powers OS kernels like Linux, Windows, and Mac and many other low-level systems.  Its syntax has inspired many other languages, including Cpp, Csharp, Java, JavaScript, Go, Perl, and more.  

#programming #compsci #100SecondsOfCode

🔗 Resources

C Manuel https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html
GCC compiler https://gcc.gnu.org/
C History https://en.wikipedia.org/wiki/C_(programming_language)

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- C programming basics
- C pointers
- Memory safety and segmentation faults
- C syntax
- What is C used for?
- History of C
2024-02-04T05:40:14.215Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
6b569220-1751-4a98-a86e-ab5c7ff0c598
b16964da38d4c027d1e840185cc04d26534025c6a3a7b6304470705aaf782576
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
C, a statically typed procedural programming language famous for making the world go round.
It's the language behind many tools we take for granted, like the Windows, Linux, and Mac operating system kernels, databases like MySQL, interpreters for languages like Python, tools like Vim and Git, and countless others.
It was created in 1972 by Dennis Ritchie at Bell Labs, where it would be used to develop the Unix operating system.
It would go on to become the mother of all languages, inspiring the syntax of c plus plus c sharp, Java, JavaScript, Perl, and PHP, just to name a few.
It compiles directly to machine code and requires minimal runtime support, but is platform dependent, meaning the executable is designed to run on a specific operating system.
It's a high level language designed for humans, yet provides low level control over memory and hardware.
There's no garbage collector.
Instead, that your code needs to manage its own memory.
When you create a variable, it's assigned an address in memory.
You can store that address in another variable all the pointer.
When the variable is no longer needed, you'll need to free it to avoid memory leaks.
To get started, install a c compiler.
A popular choice is the GNU c Compiler or GCC.
Create a file ending in dotc, include any libraries you plan to use, then add a main function to it.
This is where your program will start executing.
There's no function keyword and notice how it returns an integer type.
A return value of 0 means success, while a return value of 1 means failure.
There are only a few basic types in c.
Create a variable by starting with a type followed by a name and value.
Use print f to print the value to the standard output or put an ampersand in front of it to reference its address and memory.
There's no string type, but instead char, which represents a 1 byte character stored as an integer.
From.
A string can be created with an array of characters.
Each letter will have its own memory address and be terminated by a null character.
Another approach is to start part with a pointer by adding a star character in front of the type, then we can allocate 4 bytes to it.
Now, assign a character to each index ending with the null character to create a string.
When you no longer need that memory allocated to your program, use free to release it back to the computer's RAM.
The language is procedural and does not support object oriented features.
Although, you can create your own complex data types using structs.
Books.
Now compile your code to machine instructions for your operating system using the c compiler.
This has been the c programming language in 100 seconds.
Hit the like button and subscribe if you want to see more short videos like this.
Thanks for watching, and I will see you in the next one.

Speaker 0: C, a statically typed procedural programming language famous for making the world go round. It's the language behind many tools we take for granted, like the Windows, Linux, and Mac operating system kernels, databases like MySQL, interpreters for languages like Python, tools like Vim and Git, and countless others. It was created in 1972 by Dennis Ritchie at Bell Labs, where it would be used to develop the Unix operating system. It would go on to become the mother of all languages, inspiring the syntax of c plus plus c sharp, Java, JavaScript, Perl, and PHP, just to name a few. It compiles directly to machine code and requires minimal runtime support, but is platform dependent, meaning the executable is designed to run on a specific operating system.

It's a high level language designed for humans, yet provides low level control over memory and hardware. There's no garbage collector. Instead, that your code needs to manage its own memory. When you create a variable, it's assigned an address in memory. You can store that address in another variable all the pointer.

When the variable is no longer needed, you'll need to free it to avoid memory leaks. To get started, install a c compiler. A popular choice is the GNU c Compiler or GCC. Create a file ending in dotc, include any libraries you plan to use, then add a main function to it. This is where your program will start executing.

There's no function keyword and notice how it returns an integer type. A return value of 0 means success, while a return value of 1 means failure. There are only a few basic types in c. Create a variable by starting with a type followed by a name and value. Use print f to print the value to the standard output or put an ampersand in front of it to reference its address and memory.

There's no string type, but instead char, which represents a 1 byte character stored as an integer. From. A string can be created with an array of characters. Each letter will have its own memory address and be terminated by a null character. Another approach is to start part with a pointer by adding a star character in front of the type, then we can allocate 4 bytes to it.

Now, assign a character to each index ending with the null character to create a string. When you no longer need that memory allocated to your program, use free to release it back to the computer's RAM. The language is procedural and does not support object oriented features. Although, you can create your own complex data types using structs. Books.

Now compile your code to machine instructions for your operating system using the c compiler. This has been the c programming language in 100 seconds. Hit the like button and subscribe if you want to see more short videos like this. Thanks for watching, and I will see you in the next one.
C, a statically typed procedural programming language famous for making the world go round. It's the language behind many tools we take for granted, like the Windows, Linux, and Mac operating system kernels, databases like MySQL, interpreters for languages like Python, tools like Vim and Git, and countless others. It was created in 1972 by Dennis Ritchie at Bell Labs, where it would be used to develop the Unix operating system. It would go on to become the mother of all languages, inspiring the syntax of c plus plus c sharp, Java, JavaScript, Perl, and PHP, just to name a few. It compiles directly to machine code and requires minimal runtime support, but is platform dependent, meaning the executable is designed to run on a specific operating system. It's a high level language designed for humans, yet provides low level control over memory and hardware. There's no garbage collector. Instead, that your code needs to manage its own memory. When you create a variable, it's assigned an address in memory. You can store that address in another variable all the pointer. When the variable is no longer needed, you'll need to free it to avoid memory leaks. To get started, install a c compiler. A popular choice is the GNU c Compiler or GCC. Create a file ending in dotc, include any libraries you plan to use, then add a main function to it. This is where your program will start executing. There's no function keyword and notice how it returns an integer type.
software
computer science
software development
programming
A return value of 0 means success, while a return value of 1 means failure.
There are only a few basic types in c. Create a variable by starting with a type followed by a name and value. Use print f to print the value to the standard output or put an ampersand in front of it to reference its address and memory. There's no string type, but instead char, which represents a 1 byte character stored as an integer.
programming
From. A string can be created with an array of characters. Each letter will have its own memory address and be terminated by a null character. Another approach is to start part with a pointer by adding a star character in front of the type, then we can allocate 4 bytes to it.
Now, assign a character to each index ending with the null character to create a string. When you no longer need that memory allocated to your program, use free to release it back to the computer's RAM. The language is procedural and does not support object oriented features. Although, you can create your own complex data types using structs. Books. Now compile your code to machine instructions for your operating system using the c compiler. This has been the c programming language in 100 seconds. Hit the like button and subscribe if you want to see more short videos like this. Thanks for watching, and I will see you in the next one.
programming
software development
video gaming
streaming
software
C, a statically typed procedural programming language famous for making the world go round. It's the language behind many tools we take for granted, like the Windows, Linux, and Mac operating system kernels, databases like MySQL, interpreters for languages like Python, tools like Vim and Git, and countless others. It was created in 1972 by Dennis Ritchie at Bell Labs, where it would be used to develop the Unix operating system. It would go on to become the mother of all languages, inspiring the syntax of c plus plus c sharp, Java, JavaScript, Perl, and PHP, just to name a few. It compiles directly to machine code and requires minimal runtime support, but is platform dependent, meaning the executable is designed to run on a specific operating system. It's a high level language designed for humans, yet provides low level control over memory and hardware. There's no garbage collector. Instead, that your code needs to manage its own memory. When you create a variable, it's assigned an address in memory. You can store that address in another variable all the pointer. When the variable is no longer needed, you'll need to free it to avoid memory leaks. To get started, install a c compiler. A popular choice is the GNU c Compiler or GCC. Create a file ending in dotc, include any libraries you plan to use, then add a main function to it. This is where your program will start executing. There's no function keyword and notice how it returns an integer type. A return value of 0 means success, while a return value of 1 means failure. There are only a few basic types in c. Create a variable by starting with a type followed by a name and value. Use print f to print the value to the standard output or put an ampersand in front of it to reference its address and memory. There's no string type, but instead char, which represents a 1 byte character stored as an integer. From. A string can be created with an array of characters. Each letter will have its own memory address and be terminated by a null character. Another approach is to start part with a pointer by adding a star character in front of the type, then we can allocate 4 bytes to it. Now, assign a character to each index ending with the null character to create a string. When you no longer need that memory allocated to your program, use free to release it back to the computer's RAM. The language is procedural and does not support object oriented features. Although, you can create your own complex data types using structs. Books. Now compile your code to machine instructions for your operating system using the c compiler. This has been the c programming language in 100 seconds. Hit the like button and subscribe if you want to see more short videos like this. Thanks for watching, and I will see you in the next one.
C,
c
a
a
statically
statically
typed
typed
procedural
procedural
programming
programming
language
language
famous
famous
for
for
making
making
the
the
world
world
go
go
round.
round
It's
it's
the
the
language
language
behind
behind
many
many
tools
tools
we
we
take
take
for
for
granted,
granted
like
like
the
the
Windows,
windows
Linux,
linux
and
and
Mac
mac
operating
operating
system
system
kernels,
kernels
databases
databases
like
like
MySQL,
mysql
interpreters
interpreters
for
for
languages
languages
like
like
Python,
python
tools
tools
like
like
Vim
vim
and
and
Git,
git
and
and
countless
countless
others.
others
It
it
was
was
created
created
in
in
1972
1972
by
by
Dennis
dennis
Ritchie
ritchie
at
at
Bell
bell
Labs,
labs
where
where
it
it
would
would
be
be
used
used
to
to
develop
develop
the
the
Unix
unix
operating
operating
system.
system
It
it
would
would
go
go
on
on
to
to
become
become
the
the
mother
mother
of
of
all
all
languages,
languages
inspiring
inspiring
the
the
syntax
syntax
of
of
c
c
plus
plus
plus
plus
c
c
sharp,
sharp
Java,
java
JavaScript,
javascript
Perl,
perl
and
and
PHP,
php
just
just
to
to
name
name
a
a
few.
few
It
it
compiles
compiles
directly
directly
to
to
machine
machine
code
code
and
and
requires
requires
minimal
minimal
runtime
runtime
support,
support
but
but
is
is
platform
platform
dependent,
dependent
meaning
meaning
the
the
executable
executable
is
is
designed
designed
to
to
run
run
on
on
a
a
specific
specific
operating
operating
system.
system
It's
it's
a
a
high
high
level
level
language
language
designed
designed
for
for
humans,
humans
yet
yet
provides
provides
low
low
level
level
control
control
over
over
memory
memory
and
and
hardware.
hardware
There's
there's
no
no
garbage
garbage
collector.
collector
Instead,
instead
that
that
your
your
code
code
needs
needs
to
to
manage
manage
its
its
own
own
memory.
memory
When
when
you
you
create
create
a
a
variable,
variable
it's
it's
assigned
assigned
an
an
address
address
in
in
memory.
memory
You
you
can
can
store
store
that
that
address
address
in
in
another
another
variable
variable
all
all
the
the
pointer.
pointer
When
when
the
the
variable
variable
is
is
no
no
longer
longer
needed,
needed
you'll
you'll
need
need
to
to
free
free
it
it
to
to
avoid
avoid
memory
memory
leaks.
leaks
To
to
get
get
started,
started
install
install
a
a
c
c
compiler.
compiler
A
a
popular
popular
choice
choice
is
is
the
the
GNU
gnu
c
c
Compiler
compiler
or
or
GCC.
gcc
Create
create
a
a
file
file
ending
ending
in
in
dotc,
dotc
include
include
any
any
libraries
libraries
you
you
plan
plan
to
to
use,
use
then
then
add
add
a
a
main
main
function
function
to
to
it.
it
This
this
is
is
where
where
your
your
program
program
will
will
start
start
executing.
executing
There's
there's
no
no
function
function
keyword
keyword
and
and
notice
notice
how
how
it
it
returns
returns
an
an
integer
integer
type.
type
A
a
return
return
value
value
of
of
0
0
means
means
success,
success
while
while
a
a
return
return
value
value
of
of
1
1
means
means
failure.
failure
There
there
are
are
only
only
a
a
few
few
basic
basic
types
types
in
in
c.
c
Create
create
a
a
variable
variable
by
by
starting
starting
with
with
a
a
type
type
followed
followed
by
by
a
a
name
name
and
and
value.
value
Use
use
print
print
f
f
to
to
print
print
the
the
value
value
to
to
the
the
standard
standard
output
output
or
or
put
put
an
an
ampersand
ampersand
in
in
front
front
of
of
it
it
to
to
reference
reference
its
its
address
address
and
and
memory.
memory
There's
there's
no
no
string
string
type,
type
but
but
instead
instead
char,
char
which
which
represents
represents
a
a
1
1
byte
byte
character
character
stored
stored
as
as
an
an
integer.
integer
From.
from
A
a
string
string
can
can
be
be
created
created
with
with
an
an
array
array
of
of
characters.
characters
Each
each
letter
letter
will
will
have
have
its
its
own
own
memory
memory
address
address
and
and
be
be
terminated
terminated
by
by
a
a
null
null
character.
character
Another
another
approach
approach
is
is
to
to
start
start
part
part
with
with
a
a
pointer
pointer
by
by
adding
adding
a
a
star
star
character
character
in
in
front
front
of
of
the
the
type,
type
then
then
we
we
can
can
allocate
allocate
4
4
bytes
bytes
to
to
it.
it
Now,
now
assign
assign
a
a
character
character
to
to
each
each
index
index
ending
ending
with
with
the
the
null
null
character
character
to
to
create
create
a
a
string.
string
When
when
you
you
no
no
longer
longer
need
need
that
that
memory
memory
allocated
allocated
to
to
your
your
program,
program
use
use
free
free
to
to
release
release
it
it
back
back
to
to
the
the
computer's
computer's
RAM.
ram
The
the
language
language
is
is
procedural
procedural
and
and
does
does
not
not
support
support
object
object
oriented
oriented
features.
features
Although,
although
you
you
can
can
create
create
your
your
own
own
complex
complex
data
data
types
types
using
using
structs.
structs
Books.
books
Now
now
compile
compile
your
your
code
code
to
to
machine
machine
instructions
instructions
for
for
your
your
operating
operating
system
system
using
using
the
the
c
c
compiler.
compiler
This
this
has
has
been
been
the
the
c
c
programming
programming
language
language
in
in
100
100
seconds.
seconds
Hit
hit
the
the
like
like
button
button
and
and
subscribe
subscribe
if
if
you
you
want
want
to
to
see
see
more
more
short
short
videos
videos
like
like
this.
this
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The host discusses the language behind many tools, including the World Systems Penn system, and how it is a high level language designed for humans and low level control over memory and hardware. The language is procedural and doesn't support object oriented features, but can be compile using a c code. The language is recommended for developers looking for a short video on it.
C in 100 Seconds
C, a statically typed procedural programming language famous for making the world go round. It's the language behind many tools we take for granted, like the Windows, Linux, and Mac operating system kernels, databases like MySQL, interpreters for languages like Python, tools like Vim and Git, and countless others. It was created in 1972 by Dennis Ritchie at Bell Labs, where it would be used to develop the Unix operating system. It would go on to become the mother of all languages, inspiring the syntax of c plus plus c sharp, Java, JavaScript, Perl, and PHP, just to name a few. It compiles directly to machine code and requires minimal runtime support, but is platform dependent, meaning the executable is designed to run on a specific operating system. It's a high level language designed for humans, yet provides low level control over memory and hardware. There's no garbage collector. Instead, that your code needs to manage its own memory. When you create a variable, it's assigned an address in memory. You can store that address in another variable all the pointer. When the variable is no longer needed, you'll need to free it to avoid memory leaks. To get started, install a c compiler. A popular choice is the GNU c Compiler or GCC. Create a file ending in dotc, include any libraries you plan to use, then add a main function to it. This is where your program will start executing. There's no function keyword and notice how it returns an integer type. A return value of 0 means success, while a return value of 1 means failure. There are only a few basic types in c. Create a variable by starting with a type followed by a name and value. Use print f to print the value to the standard output or put an ampersand in front of it to reference its address and memory. There's no string type, but instead char, which represents a 1 byte character stored as an integer. From. A string can be created with an array of characters. Each letter will have its own memory address and be terminated by a null character. Another approach is to start part with a pointer by adding a star character in front of the type, then we can allocate 4 bytes to it. Now, assign a character to each index ending with the null character to create a string. When you no longer need that memory allocated to your program, use free to release it back to the computer's RAM. The language is procedural and does not support object oriented features. Although, you can create your own complex data types using structs. Books. Now compile your code to machine instructions for your operating system using the c compiler. This has been the c programming language in 100 seconds. Hit the like button and subscribe if you want to see more short videos like this. Thanks for watching, and I will see you in the next one.
The host discusses the language behind many tools, including the World Systems Penn system, and how it is a high level language designed for humans and low level control over memory and hardware. The language is procedural and doesn't support object oriented features, but can be compile using a c code. The language is recommended for developers looking for a short video on it.