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
Mention four important string handling functions in c languages .
Write a program to reverse a linked list in c.
What Is The Difference Between Null And Void Pointer?
What is maximum size of array in c?
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.
What are structural members?
Explain why can’t constant values be used to define an array’s initial size?
What is huge pointer in c?
What is the difference between array and structure in c?
What is getch?
What does %d do?
What is malloc() function?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
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
What is the scope of static variable in c?