1.*What is the wrong in this program
*main()
{
char *p,*q;
p=(char *)malloc(25);
q=(char*) malloc(25);
strcpy(p,"amazon" );
strcpy(q,"hyd");
strcat(p,q);
printf("%s",p);
}2.*write prefix and post fix notation for (a+b)*c-(d+e)^(f-g) 3.**what is valid in cpp char *cp; const char *cpp; 1) cpp=cp; 2) cp=cpp; 4.**write a shell command to find all java files present in nested directories. 5. **There are 6 pairs of black socks and 6 pairs of white socks.What is the probability to pick a pair of black or white socks when 2 socks are selected randomly in darkness. * -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
