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
Explain the difference between getch() and getche() in c?
What does *p++ do?
Is printf a keyword?
Write a program to use switch statement.
In a header file whether functions are declared or defined?
Is main a keyword in c?
What is the difference between call by value and call by reference in c?
What does c mean before a date?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What does char * * argv mean in c?
How is = symbol different from == symbol in c programming?
What is structure padding in c?
Is fortran still used in 2018?
What are the two types of functions in c?
In which language linux is written?