#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?
Post New Answer View All Answers
What is the best way to store flag values in a program?
How can I get random integers in a certain range?
How can I remove the leading spaces from a string?
Tell us bitwise shift operators?
What language is lisp written in?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
How will you delete a node in DLL?
What are the advantages of using new operator as compared to the function malloc ()?
What is #include in c?
What is the difference between text and binary modes?
Difference between MAC vs. IP Addressing
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is class and object in c?
If errno contains a nonzero number, is there an error?