main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
Answer Posted / guest
error
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
write a program for the normal snake games find in most of the mobiles.
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Is c a great language, or what?
What are the benefits of c language?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
How will you write a code for accessing the length of an array without assigning it to another variable?
What is the use of ?: Operator?
What is a example of a variable?
What is integer constants?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is the general form of a C program?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Explain what is the general form of a c program?
What is the difference between text and binary modes?
What is an lvalue?