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

what will happen if you executed this code?

Answer Posted / guest

error wud pop up because u cannot assign arrats or strings
to one another

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the Difference between the New and Malloc keyword.

1128


In c programming language, how many parameters can be passed to a function ?

1110


What is sorting in c plus plus?

977


Is calloc better than malloc?

1016


why return type of main is not necessary in linux

2104


Is printf a keyword?

1196


Explain what is operator promotion?

1086


What are pointers? Why are they used?

1178


What is nested structure?

1038


What is "Duff's Device"?

1165


Why we use break in c?

1007


What is structure padding in c?

1131


In which header file is the null macro defined?

1341


writ a program to compare using strcmp VIVA and viva with its output.

2023


Can we change the value of static variable in c?

1030