what is difference between array of characters and string
Answer Posted / saumil
the compiler automatically puts a null character when we
insert a string...for eg "abc" for the compiler is "abc\0".
but for a array of characters we need to assign a place for
it..for eg a[15] contains 14 characters and a null
character('\0').
| Is This Answer Correct ? | 24 Yes | 7 No |
Post New Answer View All Answers
write a program to rearrange the array such way that all even elements should come first and next come odd
What is c programming structure?
Can we declare variables anywhere in c?
What is scope rule in c?
What is volatile c?
What does return 1 means in c?
Where local variables are stored in c?
What are valid signatures for the Main function?
What does char * * argv mean in c?
how we can make 3d venturing graphics on outer interface
When is the “void” keyword used in a function?
Are negative numbers true in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is pointer to pointer in c language?
What is the right way to use errno?