difference between string and array?

Answer Posted / teja

array : array is a collection of similar datatypes like
integer types or character types
string : string is a collection of characters of any size

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you check to see whether a symbol is defined?

667


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1731


Explain the difference between call by value and call by reference in c language?

654


What does void main () mean?

740


write a c program in such a way that if we enter the today date the output should be next day's date.

1689






What is the difference between a free-standing and a hosted environment?

649


What are the different types of control structures in programming?

666


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1577


What is a static function in c?

633


How do you construct an increment statement or decrement statement in C?

747


What is wrong with this program statement?

612


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

1771


Can static variables be declared in a header file?

622


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1872


Explain the ternary tree?

607