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
Is it better to use malloc() or calloc()?
Explain what is page thrashing?
how to write a c program to print list of fruits in alpabetical order?
What are the advantages of the functions?
Why do we write return 0 in c?
Wt are the Buses in C Language
How many levels of indirection in pointers can you have in a single declaration?
Are the variables argc and argv are local to main?
what are bit fields? What is the use of bit fields in a structure declaration?
What is sizeof return in c?
What is the value of h?
Explain what is the difference between the expression '++a' and 'a++'?
List the variables are used for writing doubly linked list program.
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?