what is diffrence between string and character array?
Answer / vadivelt
By default String always ends with NULL character ie., '\0'.
But in character array manually it is needed to terminate
with NULL(You can do this, only when you wanted to use
character array as string)
Eg;
char *p = "Vadivel"; /*By default string is terminated
with '\0'*/
char array[8] = {'V','a','d','i','v','e','l','\0'};
/*Here terminated manually*/
| Is This Answer Correct ? | 9 Yes | 1 No |
what is array?
What is data type long in c?
program for validity of triangle from 3 side
what are the different storage classes in c?
what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }
when user give a number it multiply with 9 without useing '+' and '*' oprator
1 232 34543 4567654 can anyone tell me how to slove this c question
i have a written test in tomorrow
Output for following program using for loop only * * * * * * * * * * * * * * *
What are data structures in c and how to use them?
What is the difference between break and continue?
What is a volatile keyword in c?