Re: [algogeeks] C prog o/p

2012-10-15 Thread bharat b
how can kernel agrees with this ? if we directly access address 60 .. which is not in our control ... any malicious thing can happen right ? On Sun, Oct 14, 2012 at 5:39 PM, Dave dave_and_da...@juno.com wrote: @Bharat: 0x notation indicates hexadecimal, so 0x11 = 1*16 + 1 = 17. Dave On

Re: [algogeeks] C prog o/p

2012-10-15 Thread Sairam Ravu
I think it allocates on each process's stack, so it is not an issue, as each process has got its own stack. On 10/15/12, bharat b bagana.bharatku...@gmail.com wrote: how can kernel agrees with this ? if we directly access address 60 .. which is not in our control ... any malicious thing can

[algogeeks] Directi Campus Placement Test

2012-10-15 Thread Bharat Singhvi
Hi, We have DirectI coming to campus tomorrow. I was wondering if some of you have an idea of what would they typically ask. Any help would be highly appreciated. -- Regards Bharat Singhvi M.Tech Final Year, Dept. of Computer Science and Engineering, IIT Bombay. -- You received this message

Re: [algogeeks] C prog o/p

2012-10-15 Thread Shivam Rohilla
output will be 2 because of you subtract 2 addresses it gives (diffrence of addresses)/sizeof(datatype) (71-60)/4=2 On 13/10/2012, bharat b bagana.bharatku...@gmail.com wrote: #includestdio.h main() { int *i,*j; i=(int*)60; j=(int*)71; printf(%d,j-i); } -- You received this

Re: [algogeeks] Command Line arguments

2012-10-15 Thread DHARMENDRA KUMAR VERMA
command line arguments are sroted in uninitialized part of OS by default they are 0 or NULL and they are created dynamicallly dats y this all is happening.. sorry for being so late i didnt see it -- You received this message because you are subscribed to the Google Groups Algorithm

[algogeeks] Microsoft Interview Question

2012-10-15 Thread Rahul Kumar Patle
Pls help to solve this que.. does any one have DP solution for following que. http://www.geeksforgeeks.org/archives/24488 section 5/question 2 Write a program to find all the possible paths from a starting point to dest point in a maze(2-D array). ex: 1 0 1 0 1 1 1 1 0 1 0 1

[algogeeks] Re: Microsoft Interview Question

2012-10-15 Thread Rahul Kumar Patle
response awaited!!! anyone?? On Sat, Oct 13, 2012 at 12:31 AM, Rahul Kumar Patle patlerahulku...@gmail.com wrote: Pls help to solve this que.. does any one have DP solution for following que. http://www.geeksforgeeks.org/archives/24488 section 5/question 2 Write a program to find all the

Re: [algogeeks] Directi Campus Placement Test

2012-10-15 Thread sahil gupta
There will be written test followed by technical and telephonic interview. For typical questions you refer to geekforgeeks.org. Sahil Gupta On Sat, Oct 13, 2012 at 12:56 AM, Bharat Singhvi bharatsinghvi.1...@gmail.com wrote: Hi, We have DirectI coming to campus tomorrow. I was wondering if

Re: [algogeeks] Microsoft Interview Question

2012-10-15 Thread atul anand
can be done simply by backtracking . On Sat, Oct 13, 2012 at 12:31 AM, Rahul Kumar Patle patlerahulku...@gmail.com wrote: Pls help to solve this que.. does any one have DP solution for following que. http://www.geeksforgeeks.org/archives/24488 section 5/question 2 Write a program to find

Re: [algogeeks] Microsoft Interview Question

2012-10-15 Thread atul anand
http://www.geeksforgeeks.org/archives/13376 On Tue, Oct 16, 2012 at 8:56 AM, atul anand atul.87fri...@gmail.com wrote: can be done simply by backtracking . On Sat, Oct 13, 2012 at 12:31 AM, Rahul Kumar Patle patlerahulku...@gmail.com wrote: Pls help to solve this que.. does any one have