Okay.
I was a bit wrongactually the thing is that
The exact number of bytes allocated for various C data types depends on *both
the machine and the compiler.**
*so it may be the that the compiler u are using is 32 bit..
one thing that u can try out is that on ubuntu install 64 bit
@sunny : what you means by machine dependent means 64 bit: you means by
compiler / operating system /computer architecture ?
because i never get size of pointer 8 byte. if your statement true then tell
me which compiler / operating system /computer architecture i should have
get this output 8.
computer architecture !!!
64 bit machine has word size of 8 bytes so pointers are of 8 bytes
you never got size as 8 byte because u might be working on a 32 bit machine
!!
On Wed, Jul 27, 2011 at 2:18 PM, hary rathor harry.rat...@gmail.com wrote:
@sunny : what you means by machine dependent
On Wed, Jul 27, 2011 at 2:18 PM, hary rathor harry.rat...@gmail.com wrote:
@sunny : what you means by machine dependent means 64 bit: you means by
compiler / operating system /computer architecture ?
because i never get size of pointer 8 byte. if your statement true then
tell me which
@ sunny ; i am working on 64 bit windows 7 with dev and also in gcc + ubuntu
64 bit ... am using i3 processor that is 64 bit... what should do to get
size 8 byte ?
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send
sry frendzma above posts were wrongans is 28 if ptr takes 4 bytes...
//BE COOL// kavi
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group,
will there be any difference in size on 32 machine and on 64 bit machine ?
how and what ?
On Tue, Jul 26, 2011 at 7:58 PM, kavitha nk kavithan...@gmail.com wrote:
sry frendzma above posts were wrongans is 28 if ptr takes 4
bytes...
//BE COOL// kavi
--
You received this message
yes
on a 64 bit machine ans will be 4+5*8+8 = 52 bytes
pointers take 8 byte on 64 bit machine
On Tue, Jul 26, 2011 at 8:00 PM, vaibhav shukla vaibhav200...@gmail.comwrote:
will there be any difference in size on 32 machine and on 64 bit machine ?
how and what ?
On Tue, Jul 26, 2011 at 7:58