what is difference between array of characters and string

Answer Posted / guest

in char array space are not allowed means part after space
not consider but in string it is allowed

Is This Answer Correct ?    31 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention four important string handling functions in c languages .

616


Write a program to reverse a linked list in c.

635


What Is The Difference Between Null And Void Pointer?

630


What is maximum size of array in c?

575


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1770






What are structural members?

563


Explain why can’t constant values be used to define an array’s initial size?

846


What is huge pointer in c?

572


What is the difference between array and structure in c?

562


What is getch?

624


What does %d do?

708


What is malloc() function?

628


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

659


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

598


What is the scope of static variable in c?

521