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

Pubblicato il: 11 giugno 2022
sul canale di: Portfolio Courses
210,718
6.3k

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: https://github.com/portfoliocourses/c.... Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!


In questa pagina del sito puoi guardare il video online String In Char Array VS. Pointer To String Literal | C Programming Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Portfolio Courses 11 giugno 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 210,718 volte e gli è piaciuto 6.3 mille spettatori. Buona visione!