main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
4 11328main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?
9 23548#include
Post New CitiGroup C Interview Questions
What do you think of this implementation? Can this be implemented better?
What is Monopolistic Competition?
How do I copy sql query results to excel?
What is the frequency of sampling for the materials of cement,Fine aggregate, Coarse aggregate .and refer which code
Can we enter data in a table in design view?
What are the Alerts & Subscriptions?
Why was the language called as Python?
Please tell me some products/services of Whole Foods.
How important is c++?
Tell me about your family background and who is your role model?
How does Proof-of-Work(PoW) consensus algorithm works?
Is Multiple-inheritance supported by c#?
What is clonal selection?
Define a cross join?
What are the different types of filters in angularjs?