C Programming Tutorial 86 - Intro to Strings and Null Character

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Bro, i know you don't get significant amount of views but you help a lot with someone like me who is starting :)) good job bro i wish all the hard work you put will be re payed :)

rvmaglaque
Автор

I want to make a game, and I'm pushing myself to watch your videos to learn. Thank you very much for keeping these lessons free.

juanpedraw
Автор

Thanks! I needed this while trying to learn something new when social distancing during the virus. Your vids explain things I think a lot of people with programming experience takes for granted.

DTWINING
Автор

Hey Caleb, just wanted to say I appreciate your effort you put into these videos, you don't understand how much it helps people like us new to the programming scene. Much love wishing you all the best!

faheemahmed
Автор

this guy is awesome keep up the good work Caleb I am learning a lot as a first-year CS student.

laubes
Автор

Null? More like Full...of wonderful information! Thanks again for every single one of these videos Caleb!

PunmasterSTP
Автор

Please put more ads on your vids i'd gladly watch them =) you are a great person

xanxusgrim
Автор

Thank you so much my exam is after few hours I saw most of your viedoes it was very helpful and simple man YOU ARE INCREDIBLE
keep up

yasserj
Автор

Almost all modern systems have protected memory so you don't need to worry about a character pointer going and "hacking your bank account". It will however, clobber your programs memory and likely cause your program to crash.

kyleeames
Автор

omg this actually just solved my problem right now, ty bro!

masExz
Автор

Caleb thank you so much for this video perfectly explained this

bigfella
Автор

"If you create a char array with 5 characters, the size will be 6"
Print it out and stick it to every wall you can find. As a beginner in C, I learned the hard way that strlen() is lying to you.

Konslufius
Автор

when we give like char a[10] = "hello" then the compiler inserts null at the end of a string, what if we get the size of string from the user and dynamically allocate memory in the runtime like char * a = (char*)malloc(sizeof(char) * n) here who is assigning null at the end of a string i mean who is doing that job????

dayanitheebalaji
Автор

actually, there's a difference between NULL and nul. The nul terminator is to indicate the end of a string in C. Not Null...

PedroMesquitadaConceicao
Автор

I forgot to putt \0 and now my bank account is empty

marcusokodugha
Автор

Will '0x00' act as a null terminator for character arrays?

dineshdina
Автор

do you have any examples of c programming?

hannahvaziri
Автор

Im confused i dont get anything like how do i see through these NULL ?

zngods