Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Program of array of character

Posted By: Lurlina Fischer     Category: C Programming     Views: 1808

Write a program of array of character.

Code for Program of array of character in C Programming

main ( )
{
    char * s1 = “abcd”;    \\ A
    char  s2[] = “efgh”;     \\ B
printf( “%s %16lu \n, s1, s1);     \\ C
printf( “%s %16lu \n, s2, s2);      \\ D

    s1 = s2;              \\ E
printf( “%s %16lu \n, s1, s1);       \\ F
printf( “%s %16lu \n, s2, s2);       \\ G
}
  
Share: 


Didn't find what you were looking for? Find more on Program of array of character Or get search suggestion and latest updates.

Lurlina Fischer
Lurlina Fischer author of Program of array of character is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!