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

Explain the priority queues?

614


What is the difference between %d and %i?

584


How do you redirect a standard stream?

616


Are the variables argc and argv are local to main?

778


what is stack , heap ,code segment,and data segment

2208






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

733


What is difference between array and pointer in c?

532


What does int main () mean?

539


What is meant by 'bit masking'?

877


What are the types of data structures in c?

594


Why is structure important for a child?

598


Are local variables initialized to zero by default in c?

541


Why do we need a structure?

579


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

573


What is define directive?

631