main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
4 9825main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?
9 20202#include
Post New CitiGroup C Interview Questions
What is online agreement?
Define a substituted hydrocarbon?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
State the various features present in .NET?
What is css autoprefixer?
Explain the concepts of ant?
What is the formula of frequency ?
How the exceptions are handled in struts?
When you mistakenly enter wrong master data for an equipment, how do you manage this?
What is blouson?
What is update_statistics command?
Which is better 32 bit or 64 bit?
What is the maximum size of messages in sqs?
How many times can ssd be rewritten?
Differentiate between static class and singleton instance?