#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
Tell me what is the purpose of 'register' keyword in c language?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What is the difference between procedural and functional programming?
What is the easiest sorting method to use?
What are the applications of c language?
Can you please explain the difference between malloc() and calloc() function?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What is double pointer in c?
What is static memory allocation? Explain
Explain function?
Is main a keyword in c?
Explain what will the preprocessor do for a program?
If the size of int data type is two bytes, what is the range of signed int data type?
What is the method to save data in stack data structure type?
What is the stack in c?