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

Veröffentlicht am: 11 Juni 2022
auf dem Kanal: 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!


Auf dieser Seite können Sie das Online-Video String In Char Array VS. Pointer To String Literal | C Programming Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Portfolio Courses 11 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 210,718 Mal angesehen und es wurde von 6.3 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!