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'};            
  printf("Value is %s\n",a);       
} 

output : Value is hello


#include     
void main()
{    
  char a[10]="hello";            
  printf("Value is %s\n",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
00000000

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy