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

hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1915


What is a macro, and explain how do you use it?

1077


how to write a c program to print list of fruits in alpabetical order?

2295


Difference between strcpy() and memcpy() function?

1141


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1335


Explain the difference between malloc() and calloc() function?

1045


What are the complete rules for header file searching?

1075


Explain #pragma statements.

1044


What is the size of enum in c?

1114


What's the right way to use errno?

1140


What is a sequential access file?

1171


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1876


What do you mean by c what are the main characteristics of c language?

1031


When is a null pointer used?

1108


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

2044