Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ char array size

const char* Coffee = "Nescafe";

for(int i = 0; i < strlen(Coffee); i++)
{
    std::cout << Coffee[i] << "
";
}
 
PREVIOUS NEXT
Tagged: #char #array #size
ADD COMMENT
Topic
Name
4+3 =