What is the difference between char a[] = "string"; and
char *p = "string"; ?
Answer Posted / praveenkumar managuli
char s[]; this allocate memory equal tosize of string
and char *s; holds the address of first charecter
Is This Answer Correct ? | 23 Yes | 4 No |
Post New Answer View All Answers
What does the error message "DGROUP exceeds 64K" mean?
Explain what header files do I need in order to define the standard library functions I use?
What are header files and explain what are its uses in c programming?
What is the difference between typedef and #define?
State the difference between x3 and x[3].
What is include directive in c?
What are the advantages of union?
What does void main () mean?
What is extern c used for?
Can main () be called recursively?
What is the auto keyword good for?
Can I initialize unions?
What is define directive?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
application attempts to perform an operation?