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 *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}

Tell me the output?

Answer Posted / sumant

the output will be RamcoSystems
but we need 2 more libraries
#include<string.h> and
#include<alloc.h>
to run this program. in else case it will not work.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does != Mean in c?

1093


Write a Program to accept different goods with the number, price and date of purchase and display them

6296


What is a shell structure examples?

1148


What are unions in c?

1083


What header files do I need in order to define the standard library functions I use?

1119


Describe the header file and its usage in c programming?

1106


Why do we use main function?

1235


What is the difference between a function and a method in c?

1134


How are structure passing and returning implemented?

1088


Why is python slower than c?

1132


What is getche() function?

1088


Which is better pointer or array?

1070


What are the 4 types of organizational structures?

1161


What is the difference between class and object in c?

1240


What is array of pointers to string?

1157