main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
Answer Posted / friend
i think above program ans ramesh
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is nested structure in c?
Implement bit Array in C.
What is wrong with this program statement?
Why is not a pointer null after calling free?
What is optimization in c?
What is wrong with this initialization?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is abstract data structure in c?
Explain goto?
What do you know about the use of bit field?
When is the “void” keyword used in a function?
Which function in C can be used to append a string to another string?
simple program of graphics and their output display