what is difference between array of characters and string
Answer Posted / afaquie ahmed siddiqui
in case character array,each character is located at
contiguous memory location,we can not print them just by the
name.we have to apply some loop opration.
BUT in case of string,a BLOCK of memory is assign to whole
string,we can print them just by string name with %s.
like...
printf("%s",name of string);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the meaning of 2d in c?
What are the types of type qualifiers in c?
What are pointers?
What are unions in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Multiply an Integer Number by 2 Without Using Multiplication Operator
what is the diffrenet bettwen HTTP and internet protocol
Tell me is null always defined as 0(zero)?
What is #include called?
Compare and contrast compilers from interpreters.
What is malloc calloc and realloc in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Explain Function Pointer?
#include
What is header file in c?