What is the difference between char a[] = "string"; and
char *p = "string"; ?
Answer Posted / singamsa
we can not access a++ or a-- on array but we can do that in
pointers
array, address is constanct for that string, pointer is not
like that
| Is This Answer Correct ? | 43 Yes | 22 No |
Post New Answer View All Answers
Do pointers take up memory?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is d scanf?
Explain what are binary trees?
What is the purpose of main() function?
What is the newline escape sequence?
What is a static variable in c?
Explain void pointer?
What does stand for?
What is an expression?
Is c still used?
Why can't I perform arithmetic on a void* pointer?
I need a sort of an approximate strcmp routine?
I have seen function declarations that look like this
Discuss the function of conditional operator, size of operator and comma operator with examples.