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
write a program to concatenation the string using switch case?
The file stdio.h, what does it contain?
Why isn't any of this standardized in c? Any real program has to do some of these things.
List a few unconditional control statement in c.
What is extern keyword in c?
Can two or more operators such as and be combined in a single line of program code?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Where are local variables stored in c?
Do you know pointer in c?
What are logical errors and how does it differ from syntax errors?
explain what are actual arguments?
What is the difference between āgā and āgā in C?
What are loops in c?