#include<stdio.h>
int main()
{
int i,j;
int ct=0;
int *a[3];
for( i=0;i<3;i++)
{
a[i]=(int **)malloc(sizeof(int)*4);
}
for(i=0;i<3;i++){
for(j=0;j<4;j++)
a[i][j]=ct++;
printf("%d",a[i][j]);
}
On Sat, Jul 2, 2011 at 2:27 AM, sravanreddy001 <[email protected]>wrote:> @saurabh.. No man.. it involves variable number of calls.. even if its > present only once in code. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/2VonkRB6WMEJ. > > 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. > -- SOURABH JAKHAR,(CSE)(3 year) ROOM NO 167 , TILAK,HOSTEL 'MNNIT ALLAHABAD The Law of Win says, "Let's not do it your way or my way; let's do it the best way." -- 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.
