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
What is meant by keywords in c?
Is main is user defined function?
What is indirection in c?
What are integer variable, floating-point variable and character variable?
What is the difference between abs() and fabs() functions?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
Not all reserved words are written in lowercase. TRUE or FALSE?
What is chain pointer in c?
i want to know the procedure of qualcomm for getting a job through offcampus
What are the 32 keywords in c?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is the size of array float a(10)?
Describe the modifier in c?
Explain what is the difference between functions getch() and getche()?
Tell me when would you use a pointer to a function?