what is difference between array of characters and string

Answer Posted / revathy

In terms of C language,
string is nothing but the array of characters.
char a[10] is nothing but a string with 9 characters and a
null..

Is This Answer Correct ?    15 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain can you assign a different address to an array tag?

648


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

675


What is meant by keywords in c?

618


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14965


i have a written test for microland please give me test pattern

2183






Explain about C function prototype?

611


How is a macro different from a function?

657


What are c identifiers?

629


Why is c fast?

609


Explain the advantages of using macro in c language?

582


How many bytes are occupied by near, far and huge pointers (dos)?

675


Do you know pointer in c?

593


Is c++ based on c?

656


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2222


Explain how can I avoid the abort, retry, fail messages?

592