Elearning , Interview Questions And Answers

Google

int temp; temp=a; b=a; a=temp; return; } ---------------------------------------------------------------------- main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } --------------------------------------------------------------------- #include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } ----------------------------------------------------------------- #include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); }


Hosted by www.Geocities.ws

1