[algogeeks] Amazon Aptitude questions

2011-08-03 Thread ankit sambyal
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)

Re: [algogeeks] Amazon Aptitude questions

2011-08-03 Thread annarao kataru
please answer the questions 1 and 4 -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For

Re: [algogeeks] Amazon Aptitude questions

2011-08-03 Thread NIKHIL JAIN
are they what they have asked recently and they consider c/c++ as a part of apti or have a pure c/c++ paper and apti paper -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To