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 self-referential structure in c programming?
Tell us the use of fflush() function in c language?
What is c basic?
What do the functions atoi(), itoa() and gcvt() do?
How to declare pointer variables?
What is structure in c language?
how many key words availabel in c a) 28 b) 31 c) 32
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is C language ?
Explain why can’t constant values be used to define an array’s initial size?
What is abstract data structure in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What are the advantages of using macro in c language?
Give me the code of in-order recursive and non-recursive.
Describe newline escape sequence with a sample program?