main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
what is the output?
Answer Posted / mannucse
name
Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
How can I change the size of the dynamically allocated array?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is the difference between āgā and āgā in C?
What is a sequential access file?
Describe how arrays can be passed to a user defined function
Write a program to find the biggest number of three numbers in c?
how to construct a simulator keeping the logical boolean gates in c
What are the functions to open and close the file in c language?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
How can I swap two values without using a temporary?
What is d scanf?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What does %2f mean in c?
How can I read in an object file and jump to locations in it?