#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 / khaja
ramco system
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the right type to use for boolean values in c? Is there a standard type?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
How do you write a program which produces its own source code as output?
Why can’t constant values be used to define an array’s initial size?
What is difference between && and & in c?
Does c have enums?
How can I do serial ("comm") port I/O?
What is the difference between ‘g’ and “g” in C?
Why is c so important?
What is typedf?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Explain how can I convert a string to a number?
Why is c faster?
What is boolean in c?
Why is a semicolon (;) put at the end of every program statement?