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...

#include<string.h>
void main()
{
String s1[]={"swathi"};
string s2[]={"maddimsetti"};
s1[]=s[];
printf("%s",s1[]);
}

Answer Posted / senthil

compilation error.

the following statement is wrong
s1[]=s[];

cannot change the value of array pointer s1

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2222


How arrays can be passed to a user defined function

1069


What is use of bit field?

1349


code for quick sort?

2077


application attempts to perform an operation?

2030


Compare interpreters and compilers.

1111


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1202


How we can insert comments in a c program?

1184


What is malloc() function?

1227


What are structures and unions? State differencves between them.

1246


What is the use of a semicolon (;) at the end of every program statement?

1585


How can you invoke another program from within a C program?

1118


Write a Program to find whether the given number or string is palindrome.

1334


Explain how are 16- and 32-bit numbers stored?

1304


How can I split up a string into whitespace-separated fields?

1102