What is the difference between char a[] = "string"; and
char *p = "string"; ?
Answer Posted / abc
we cannot assign a string to another but we can assign a
char pointer to another char pointer.
| Is This Answer Correct ? | 23 Yes | 7 No |
Post New Answer View All Answers
Describe the steps to insert data into a singly linked list.
What is the c value paradox and how is it explained?
When would you use a pointer to a function?
Which is better between malloc and calloc?
Does c have class?
What are global variables and explain how do you declare them?
Is c still relevant?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Why is c called c not d or e?
What does c value mean?
What is pass by value in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is volatile keyword in c?
What is the difference between abs() and fabs() functions?
What is a pointer value and address in c?