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
what is ur strangth & weekness
write a program to find out prime number using sieve case?
how do you execute a c program in unix.
Can the sizeof operator be used to tell the size of an array passed to a function?
Write a program to swap two numbers without using third variable?
What is a keyword?
What does stand for?
How can you be sure that a program follows the ANSI C standard?
Explain what is the stack?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What are loops c?
How can you call a function, given its name as a string?
Explain the use of fflush() function?
What is the benefit of using an enum rather than a #define constant?
Why pointers are used?