Skip to content

This program stores the string "Hello" and calculates its length using s.size(). It then prints the last character of the string ('o') using s[length - 1].

Notifications You must be signed in to change notification settings

Hell00Aman/string.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

string.cpp

This program stores the string "Hello" and calculates its length using s.size(). It then prints the last character of the string ('o') using s[length - 1].

About

This program stores the string "Hello" and calculates its length using s.size(). It then prints the last character of the string ('o') using s[length - 1].

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages