what is difference between array of characters and string

Answer Posted / nag

Character array consist of group of characters, and static one
char a[10] means 9 are for using purpose and one is null
In case of string null is taken as default and is taken into
double quotes
String s="string";

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of pointers?

596


In C language, a variable name cannot contain?

737


Explain the Difference between the New and Malloc keyword.

684


How #define works?

611


What is identifier in c?

539






What are the different types of C instructions?

670


How to get string length of given string in c?

605


What are the Advantages of using macro

679


What are the features of c language?

617


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


Difference between Shallow copy and Deep copy?

1564


How can I generate floating-point random numbers?

600


How many bytes is a struct in c?

721


What are the different types of linkage exist in c?

611


What language is windows 1.0 written?

571