355 views

1 Answer

1 votes
1 votes

Here %p format specifier prints a pointer.It depend on how pointers are usually printed on your platform.

Now everything is simple .Suppose pointer is printing in hexadecimal .

0028FEF6    0028FECC 0028FEE4
0028FEF7    0028FED0 0028FEE8
0028FEF8    0028FED4 0028FEAC

.............           ..............      ..............

0028FF00    0028FEF4  0028FECC   

Related questions

1 votes
1 votes
1 answer
1
Na462 asked Jan 8, 2019
1,453 views
#include <stdio.h>main (){unsigned x = -10;int X = 20;if (X x) printf ("Hello");else{ printf ("%d",x); printf ("Jello"); }}
7 votes
7 votes
3 answers
2
Parshu gate asked Nov 20, 2017
790 views
What is the output of the following program?#include<stdio.h int main() { int array[]={10, 20, 30, 40}; printf(“%d”, -2[array]); return 0; }$-60$$-30$$60$Garbage valu...
3 votes
3 votes
1 answer
3
Parshu gate asked Nov 13, 2017
1,428 views
main( ){int n[3][3] = {2, 4, 3,6, 8, 5,3, 5, 1} ;printf ( "\n%d %d %d", *n, n[3][3], n ) ;}
0 votes
0 votes
2 answers
4