#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
How will you write a code for accessing the length of an array without assigning it to another variable?
What is void main ()?
Is a house a mass structure?
Is there any possibility to create customized header file with c programming language?
How can a program be made to print the line number where an error occurs?
Tell me with an example the self-referential structure?
What is #include cctype?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is the advantage of a random access file?
How can I find out the size of a file, prior to reading it in?
What are valid operations on pointers?
Write a program which returns the first non repetitive character in the string?
What is realloc in c?
Why we use int main and void main?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.