programplug Logo




C++ String


A string is a sequence of characters(array of characters), either as a literal constant or as a variable.


#include     
void main()
{    
  char a[10]={'h','e','l','l','0'};            
  cout<<"Value is" << a;       
} 

output : Value is hello


#include     
void main()
{    
  char a[10]="hello";            
  cout<<"Value is" << a;       
} 

output : Value is hello







Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
000000000

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy