Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program to copy a string without using a string?

Answer Posted / j j ramesh

void main()
{
char str1[100],str2[100];
printf("ENTER THE STRING :");
gets(str1);
for(i=0;str1[i];i++)
str2[i] = str1[i]l
pritf("COPIED : %s",str2);
}

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I find out how much free space is available on disk?

1012


Is it possible to pass an entire structure to functions?

941


When should volatile modifier be used?

952


What is merge sort in c?

1001


What is declaration and definition in c?

1014


What is the difference between union and anonymous union?

1247


How can you avoid including a header more than once?

927


differentiate built-in functions and user – defined functions.

1038


What is build process in c?

1079


What is time complexity c?

940


Explain pointer. What are function pointers in C?

1014


What is the difference between fread buffer() and fwrite buffer()?

1105


Is there a way to jump out of a function or functions?

1027


Explain how can you check to see whether a symbol is defined?

1084


What is strcmp in c?

1016