How to declare an array of strings in C

How to declare an array of strings in C

CodeVault

6 лет назад

40,664 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@TheScissorunner
@TheScissorunner - 14.09.2023 01:49

I'm 65 and decided to learn a few different programming languages just for $h|t$ and grins... it's good for the brain. You!!!! are killing me! Such a pleasure to watch you think through a problem and then explain in a concise and thoughtful manner.

You're unique and it's always a joy to spend an evening listening to you. Thank You!

Ответить
@user-ik2qi3wy8u
@user-ik2qi3wy8u - 25.04.2023 18:01

forgot to mention that we must include the definition in the header file as in the IDE project are built to automatically links all files.considering the terminal it does not work single-handedly.

Ответить
@its_code
@its_code - 30.03.2023 08:39

❤❤❤🤩🤩🤩

Ответить
@megatameerzaheri4282
@megatameerzaheri4282 - 06.02.2023 23:31

THANKKKK YOUUUUU SOO MUCHH🤩 Please make more video like this 🙏

Ответить
@michaelpatterson1096
@michaelpatterson1096 - 18.07.2022 04:55

another great video!

Ответить
@ARUNKUMARC-yf3sw
@ARUNKUMARC-yf3sw - 11.03.2022 20:18

Thnx bruh 😇

Ответить
@CerberusDawg
@CerberusDawg - 20.02.2022 17:04

Very informative. Thanks!

Ответить
@lindascoon4652
@lindascoon4652 - 03.02.2022 20:04

is there a way of emptying an array of strings ie 2d character array, without having to write a loop to remove each element individually

Ответить
@naderbenammar7097
@naderbenammar7097 - 02.02.2022 23:47

so good

Ответить
@presauced
@presauced - 30.12.2021 22:55

nice video. simple and straight to the point really.

Ответить
@vincenttionando
@vincenttionando - 10.11.2021 07:09

should we use (int argc, char *argv[ ])? what are those functions?

Ответить
@tony310430
@tony310430 - 21.10.2021 05:36

You seem to be a knowledgeable person, thanks for your output

Saludos desde Panamá 🇵🇦

Ответить
@dvesc
@dvesc - 25.08.2021 23:40

¡¡MUCHAS GRACIASS!! me ayudaste con mi tarea jaajajaja <3

Ответить
@GuruR97
@GuruR97 - 16.07.2021 08:19

Excellent video, cheers man. Going to watch the rest of your C content.

Ответить
@lilyscarlet2584
@lilyscarlet2584 - 28.06.2021 16:10

a 2d array is basically an array of arrays. it has rows and columns. since arrays are just pointers to where arrays start in memory a 2d array is just a pointer to an array of pointers. so an array of strings is an array of arrays. strings are just arrays of characters and characters are just integers which have an ascii or unicode value associated with them.

Ответить
@iloveukraine-subscribe1kgo822
@iloveukraine-subscribe1kgo822 - 23.06.2021 17:00

Hello, I liked this video but I really thought you would cover
char *name[] = {string, string, string}; style of coding.
And one more question, which is the more preferred coding standard?

Ответить
@stwbyby6140
@stwbyby6140 - 09.03.2021 02:14

thank you so much!

Ответить
@CuriousSachinPatel
@CuriousSachinPatel - 26.02.2021 05:53

thanks bruh, your video was helpful within first two minutes

Ответить
@buolossabbag4662
@buolossabbag4662 - 20.12.2020 12:25

Thank you

Ответить
@crisjamirpatalinghug518
@crisjamirpatalinghug518 - 30.08.2020 18:51

This video is the reason I finished my homework. Thank you very much.

Ответить
@marlond2524
@marlond2524 - 27.04.2020 08:02

This video is really helpful, Thanks!!!

Ответить
@steinmil
@steinmil - 30.11.2019 18:16

Subscribed. String processing and string operations are a bit cumbersome in C, especially when you want convert something to / from a string you have to think of where the string is located and since its a variable type, how much memory you want for it and where do you want it allocated (static, heap, stack) and depending on the choice what caveats are there for each.

So if you can touch some more of these topics that would be good.Maybe create your own string type. I know it's more advanced but ultimately design decisions will float around string manipulation at some point.


Cheers,

Ответить
@srinaath9845
@srinaath9845 - 11.09.2019 14:22

Thank you so much man. You explained it so good 👏

Ответить
@danteeep
@danteeep - 30.04.2019 14:20

life saver !! what an odd way for strings to work like that !!

Ответить
@prathikkundaragi9754
@prathikkundaragi9754 - 12.03.2019 21:39

please make video on declaring array of strings using string

Ответить
@craignatoli1977
@craignatoli1977 - 14.02.2019 19:34

Thanks you did a better job of explaining how to create strings then my professor

Ответить
@eduardfc
@eduardfc - 17.10.2018 12:31

Oh! Thank You Very Much!

Ответить
@AbsolutelyHalal
@AbsolutelyHalal - 29.09.2018 00:09

Thank you, very helpful!

Ответить