No video

String In Char Array VS. Pointer To String Literal | C Programming Tutorial

  Рет қаралды 203,947

Portfolio Courses

Portfolio Courses

Күн бұрын

The difference between a string stored in a char array vs. a pointer to a string literal in C. In other words the difference between: char s[] = "string" vs. char *s = "string". Importantly, we discuss why we can't modify the string in the case of a pointer to a string literal. Source code: github.com/por.... Check out www.portfolioc... to build a portfolio that will impress employers!

Пікірлер: 349
Constant Pointer VS. Pointer To A Constant | C Programming Tutorial
8:40
Portfolio Courses
Рет қаралды 26 М.
why do void* pointers even exist?
8:17
Low Level Learning
Рет қаралды 351 М.
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 37 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 39 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 179 МЛН
How To Return A String From A Function | C Programming Tutorial
13:51
Portfolio Courses
Рет қаралды 16 М.
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
A Competition for Unreadable Code?
12:33
LaurieWired
Рет қаралды 161 М.
why are switch statements so HECKIN fast?
11:03
Low Level Learning
Рет қаралды 400 М.
C++ char data type and the difference between character and string literals [5]
7:29
you need to stop using print debugging (do THIS instead)
7:07
Low Level Learning
Рет қаралды 426 М.
array vs &array Pointers Difference Explained | C Programming Tutorial
17:38
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 165 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,1 МЛН
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 297 М.
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 37 МЛН