difference between string and array?

Answer Posted / sonu

string:string is a collection of similar datatype,like
"sneha".
array:an array is a collection of different datatype,like
a[10].we can store charactor value as well as integer.

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is auto keyword in c?

972


write a program to concatenation the string using switch case?

1807


How can you increase the size of a dynamically allocated array?

917


What is modifier & how many types of modifiers available in c?

827


How can you avoid including a header more than once?

757


can any one tel me wt is the question pattern for NIC exam

1753


Explain what are multidimensional arrays?

826


What are the usage of pointer in c?

922


Differentiate between a for loop and a while loop? What are it uses?

925


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2968


Is there a way to compare two structure variables?

856


how to execute a program using if else condition and the output should enter number and the number is odd only...

1944


How to write a code for reverse of string without using string functions?

1840


Write a Program to find whether the given number or string is palindrome.

983


What is difference between structure and union with example?

826