what is diffrence between string and character array?
Answer / vadivelt
By default String always ends with NULL character ie., '\0'.
But in character array manually it is needed to terminate
with NULL(You can do this, only when you wanted to use
character array as string)
Eg;
char *p = "Vadivel"; /*By default string is terminated
with '\0'*/
char array[8] = {'V','a','d','i','v','e','l','\0'};
/*Here terminated manually*/
| Is This Answer Correct ? | 9 Yes | 1 No |
Explain the concept of "dangling pointers" in C.
I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.
Explain why C language is procedural?
code for selection sort?
write a program in c language to print your bio-data on the screen by using functions.
What is ambagious result in C? explain with an example.
What is the best way of making my program efficient?
How can I allocate arrays or structures bigger than 64K?
What is the difference between exit() and _exit() function?
ABCDCBA ABC CBA AB BA A A
Write a program which returns the first non repetitive character in the string?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.