Tuesday, July 14, 2009

C program for deleting those words starting with s n ending with letter d in a string without using pointers.?

Without using pointers is not really possible.


You can use the string as an index like this;


if (s[i] == ........


but actually s[i] is still a pointer.


Anyway you can avoid using * and %26amp; this way, if hats what you mean?


Then write your own string search functions.


the standard string search and compare functions are returning pointers.


No comments:

Post a Comment