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<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output

Answer Posted / geo

Lvalue error.

if char *s1="Ramco";
char *s2="Systems";
s1=s2; is used

ans: Systems

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to find the sum of five entered numbers using an array named number

2147


Write a code to generate divisors of an integer?

1078


How can you increase the size of a statically allocated array?

1088


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2325


What are the advantages of using macro in c language?

1142


How do I use void main?

1096


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1924


What is the difference between union and anonymous union?

1316


What is identifiers in c with examples?

1189


How do you view the path?

1138


List a few unconditional control statement in c.

995


What are global variables?

1201


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1731


What is the advantage of an array over individual variables?

1244


what are the facialities provided by you after the selection of the student.

2270