Re: [algogeeks] DBMS

2011-08-09 Thread Bipin kumar yadav
it should be 2^(m-1)-1 because in given m elements 1 element should be primary key, which will combined with other attributes to form super key. so there will be 2^(m-1) such subset now we subtract 1 for the phi.so this should be 2^(m-1)-1. correct me if i m wrong,,, -- You received this m

[algogeeks] Re: output

2011-07-21 Thread bipin kumar
Hi! The overall logic is that u should know the actual memory location where the data is to be stored or have a reference to it,in ur case a *a1 it is just a pointer variable . and this pointer is not pointing to the location where the new object would be allocated,so it is passed just as a point