“string di c” Kode Jawaban

string di c

1. char str[] = "GeeksforGeeks";

2. char str[50] = "GeeksforGeeks";

3. char str[] = {'G','e','e','k','s','f','o','r','G','e','e','k','s','\0'};

4. char str[14] = {'G','e','e','k','s','f','o','r','G','e','e','k','s','\0'};
Oskari Lehtinen

string di c dan cara kerjanya

Strings are defined as an array of characters. The difference between a 
character array and a string is the string is terminated with a special
character ‘\0’.
Heckar

Jawaban yang mirip dengan “string di c”

Pertanyaan yang mirip dengan “string di c”

Lebih banyak jawaban terkait untuk “string di c” di C++

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya