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

it will be an error as for as i know... since s1 is not a
pointer variable... but however array are implict
pointers.... here we cant assign the base address to
another arry which is capable of holding oly values not
addressses...............

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of type specifiers?

1099


Why do we use stdio h and conio h?

1136


What is the use of printf() and scanf() functions?

1196


How can you find the day of the week given the date?

1241


What is a c token and types of c tokens?

1128


What is the difference between functions getch() and getche()?

1141


How are pointers declared in c?

1115


Who is the main contributor in designing the c language after dennis ritchie?

1055


How pointers are declared?

1011


What is static and volatile in c?

1268


What is graph in c?

1104


What is function pointer c?

1192


Write the control statements in C language

1283


simple program of graphics and their output display

2052


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1324