difference between string and array?

Answer Posted / paramesh

a string is collection of characters but an array is
collection of similar data types

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

677


Describe the steps to insert data into a singly linked list.

634


What is dynamic dispatch in c++?

569


Write a c program to demonstrate character and string constants?

1693


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4751






Why ca not I do something like this?

597


What is typedef?

685


Can a function argument have default value?

684


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

650


can we change the default calling convention in c if yes than how.........?

2044


How can I get random integers in a certain range?

630


Is a pointer a kind of array?

604


how can f be used for both float and double arguments in printf? Are not they different types?

620


What is the argument of a function in c?

585


Explain what is the best way to comment out a section of code that contains comments?

732