Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Output of the p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 27 Topic 24506 of 28006
Post > Topic >>

Output of the printf(a,*a,**a) where a is of type int [][][]

by Nikhil Bokare <nbokare@[EMAIL PROTECTED] > Feb 4, 2008 at 10:25 AM

#include<stdio.h>

int main()
{
	int a[3][3][3];
	printf("%d %d %d %d",a,*a,**a,&a);
}

I tried the above code and got the same value for a, *a , **a and &a.
Can anyone please tell me the reason behind such a behavior?
 




 27 Posts in Topic:
Output of the printf(a,*a,**a) where a is of type int [][][]
Nikhil Bokare <nbokare  2008-02-04 10:25:03 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
roberson@[EMAIL PROTECTED  2008-02-04 18:38:21 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Richard Heathfield <rj  2008-02-04 18:42:22 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-04 11:17:33 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Richard Heathfield <rj  2008-02-04 23:35:20 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
"Bartc" <bc@  2008-02-05 00:41:20 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-04 10:46:11 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Nikhil Bokare <nbokare  2008-02-04 10:46:31 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Richard Heathfield <rj  2008-02-04 19:05:15 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-04 12:18:17 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Ben Pfaff <blp@[EMAIL   2008-02-04 10:43:04 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
John Bode <john_bode@[  2008-02-04 11:02:50 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Kenneth Brody <kenbrod  2008-02-04 14:27:06 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
CBFalconer <cbfalconer  2008-02-04 18:17:11 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
CBFalconer <cbfalconer  2008-02-04 18:20:20 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-04 17:07:57 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
CBFalconer <cbfalconer  2008-02-04 20:34:40 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Richard Heathfield <rj  2008-02-05 01:59:05 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-04 23:28:36 
Another episode of... CLC regulars eating their own!
gazelle@[EMAIL PROTECTED]  2008-02-05 19:32:18 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
"Ravishankar S"  2008-02-05 10:39:44 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
"Bartc" <bc@  2008-02-05 11:23:49 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
CBFalconer <cbfalconer  2008-02-05 17:05:44 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
"Bartc" <bc@  2008-02-06 12:28:46 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Keith Thompson <kst-u@  2008-02-06 10:06:35 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Richard <devr_@[EMAIL   2008-02-05 10:28:01 
Re: Output of the printf(a,*a,**a) where a is of type int [][][]
Army1987 <army1987@[EM  2008-02-06 11:13:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 13:03:52 CST 2008.