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[]);
}

Answers were Sorted based on User's Feedback



#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / vivek mathan

THE ANSWER IS "ERROR";

Is This Answer Correct ?    12 Yes 1 No

#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / 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

#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / madhavi

%d

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is the use of bitfields & where do we use them?

2 Answers  


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

0 Answers  


what is a c-language.what is do.

4 Answers   HCL,


Explain main function in c?

0 Answers  


what is structuer?

4 Answers   LG Soft, Wipro,


write a program to display all prime numbers

0 Answers  


write a program to find lcm and hcf of two numbers??

1 Answers  


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

0 Answers  


Explain what are the different data types in c?

0 Answers  


Explain what is the benefit of using an enum rather than a #define constant?

0 Answers  


Explain what are bus errors, memory faults, and core dumps?

0 Answers  


what is the definition of storage classes?

3 Answers   Wipro,


Categories