Chaitu Tech Bits
Showing posts with label linux interview questions. Show all posts
Showing posts with label linux interview questions. Show all posts

what is difference between array and stack? what is array what is stack

Wednesday, December 15, 2010



            Briefly, there are two main differences between an array and a stack.
            1)An array can be multi-dimensional, while a stack is strictly one-dimensional.
            2)An array allows direct access to any of its elements, whereas with a stack, only  

the 'top' element is directly accessible; to access other elements of a stack, you      
must go through them in order, until you get to the one you want.
           
            Another difference is
            3)Array size is fixed where as stack can grow.

Share/Bookmark

what is the difference between zimage bz image and u image

the difference between bz image and z image is in compression mode
not only compression mode
there are many differnces

A uImage file is a kernel with a modified header for u-boot. A tool called mkimage is used to convert a zImage (regular kernel compressed image) to a uImage file. And No, zImage files, as they are, are not compatible with U-Boot. You must convert them

make zImage - Creates a gzip’d kernel image that must be installed manually.
make bzImage - Creates a bzip2’d kernel image that must be installed manual

bz image is compressed image when compared to  zimage

suggest me if any thing wrong
Share/Bookmark

Related Posts Plugin for WordPress, Blogger...