Computer problems,Computer help
*AX SOFT>>>Programming & Design

How to determine the base address of the given array?


please help....
the problem is: the location of x [5] is 151, if w=3 and the array is [-2...5], determine the base address of the given array...
thank you very much..

I am finding it a little difficult to understand what you are asking here. What do you mean "location of x[5] is 151"? And what does "w" represent?

In C/C++ if you declare array as
int ar[10];

then array name "ar" gives you the base address
use
int a=ar;

cout<<a;

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • I have a folder with 10000 files I want an automatic way to put them in 100subfolders of 100files for each..?

    Hi, As a programmer, i think writting a program in any of the high level language will help u to solve the mentioned problem. -- Solution Provider: Eroz Awari (SGM School, Navsari)

    ...
  • The Binary # 11 Would Have The Decimal Equivalent Of...?

    Hi, To convert Binary number in to decimal follow the given below steps: For eg : 110111 we want to convert into decimal. 110111(Base 2) = 1 x 2^5 + 1 x 2^4 + 0 x 2^3 + 1x2^2 + 1x 2^1 + 1x2...

  • Operating system question?

    hello, Most softwares currently are intelligent softwares. What I mean with intelligent is that they wont allow you to run/execute/install once they find out that the OS is not the suited OS for...

  • How to protect/copyright websites?

    Copyright is protected automatically. You may want to add the word Copyright (or the 漏 symbol) and the year. "(C)" is bogus and "All rights reserved" no longer has any legal mea...

  • How can I find out when a certain web page was created?

    Right click on the page, select "View page info", and look for the information in the "Modified" field.

    ...
  • CPU usage in Linux?

    Hello, yes this is possible. You dont even have to code a lot of things. All you need is to enable telnet to your server. And then via telnet, execute "free" or "vmstat"...

  • If I build a website using one of the free host providers, such as Geocities or Homestead?

    Don't waste your time with free hosts. You can buy a great package for less than $80 a year. ...

  • Need Help!! Pls answer me.... Its Quite Urgent?

    hello, I suggest you start with MS Excel. Why? 1. Ease of use 2. Print capacity. 3. Lockable by password 4. Formula capable 5. Programming can be done easily with visual basic 6, If yo...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster