Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ check first character of string

int main() {
    string a="HELLO";
    cout<<a[0];
}
 
PREVIOUS NEXT
Tagged: #check #character #string
ADD COMMENT
Topic
Name
2+9 =