#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
Explain the difference between null pointer and void pointer.
How can a program be made to print the line number where an error occurs?
Are there any problems with performing mathematical operations on different variable types?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Differentiate between Macro and ordinary definition.
what is reason of your company position's in india no. 1.
When is the “void” keyword used in a function?
How can a number be converted to a string?
What is the sizeof () operator?
What is the difference between pure virtual function and virtual function?
What does #pragma once mean?
Why do we need volatile in c?
What does %2f mean in c?
What is the difference between int main and void main in c?
Explain what is the general form of a c program?