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 / ankit garg

it will give an error bcoz here we do not give the header
file for string ( #include<string.h>) ... and we can not
use the string without it....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1903


Is it better to use a macro or a function?

1105


What is optimization in c?

958


What is the use of volatile?

1048


What is NULL pointer?

1046


Can we assign string to char pointer?

1049


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1191


What is include directive in c?

1104


How is actual parameter different from the formal parameter?

982


How many data structures are there in c?

1071


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1211


Differentiate Source Codes from Object Codes

1490


Can we add pointers together?

1007


How to find a missed value, if you want to store 100 values in a 99 sized array?

1372


#include { printf("Hello"); } how compile time affects when we add additional header file .

1860