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

Tell us bitwise shift operators?

1020


Explain what are the different data types in c?

1156


How does free() know explain how much memory to release?

1011


What are the different types of control structures in programming?

1080


What is difference between && and & in c?

1042


Explain the properties of union.

1019


What is header file definition?

1023


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

1010


What are dangling pointers? How are dangling pointers different from memory leaks?

1227


What is the purpose of realloc()?

1093


What does do in c?

989


Explain what is the difference between #include and #include 'file' ?

965


what is a function method?give example?

2309


What is the general form of a C program?

977


What is #include conio h?

939