main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
4 11650main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?
9 24151#include
In a journey of 15 miles two third distance was travelled with 40 mph and remaining with 60 mph.How muvh time the journey takes
4 32844A man walks from 9.15 to 5.15 from monday to friday and 9.00 to 12.00 on saturday.Each day 0.45 min lunch. How much time he walks in a week
11 30677A started at 9.00 am with 6 mph and B started at 9.30 am with 8mph in the same direction. At what time they will meet?
6 25030In a company 3/5 of people know shorthand 1/4th know typing and 1/5 know both. What fraction of people do not know both?
14 32871A company requires 11,500 strength.present employees are 200 women , men and 6500 unmarried To reach the target how many women required to maintain the same ratio?
5 21690Post New CitiGroup Interview Questions