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
Tell me what is the purpose of 'register' keyword in c language?
What is d scanf?
how to write a c program to print list of fruits in alpabetical order?
Why pointers are used?
What is wrong with this program statement?
Why doesnt long int work?
What is assert and when would I use it?
Do you know the use of fflush() function?
What is the value of h?
What are formal parameters?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
what does static variable mean?
When is a null pointer used?
What are categories used for in c?
What language is lisp written in?