Question about Computers & Internet

1 Answer

How to use pointer in array

Give me answer how to use pointer in array
benifit of the pointer in c language

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 85 Answers

Array name starts with * (to makeitpointer object)

Posted on Mar 22, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

How do I change the language setting fom French to English


did it have a list of languages that you could chose from . you have to click pointer to english and hit enter

Jun 02, 2015 | Computers & Internet

1 Answer

Mouse pointers


click start control panel mouse you should see 4 tabs buttons,pointers,pointer options and hardware under hardware you have options to troubleshoot also you can select properties under driver you will have options to update driver,rollback driver or uninstall also
I have found that the best way to adjust your mouse settings is to create a control panel in your bottom toolbar scroll to the bottom of your screen right click you will see an array of options select the toolbar option then select desktop then you will see the desktop in the bottom toolbar select the 2 arrows then all control panel items then select mouse this is in WINDOWS 7 in XP you will have to select the new toolbar option once you have that a browse option select my computer then control panel then a control panel option will be in the bottom toolbar
hope this helps

Jun 29, 2011 | Computers & Internet

1 Answer

When I type Shift + @, my new Acer computer give me " and vice versa. How may I alter this?


This is probably a different keyboard layout that you used to know.

  1. Click Start , type intl.cpl in the Start Search box, and then press ENTER.
  2. On the Keyboards and Language tab, click Change keyboards.
  3. Click Add.
  4. Expand the language that you want. For example, English (United States).
  5. Expand Keyboard list, select the United States-International check box, and then click OK.
  6. In the Default input language list, click Language name - United States-International (where Language name is the language that you selected in step 4), and then click OK two times.
  7. In the Regional and Language Options dialog box, click OK.

    Notice that the Language bar appears on the taskbar. When you position the mouse pointer over it, a ToolTip appears that describes the active keyboard layout
  8. Click the Language bar, and then click United States-International on the shortcut menu that appears.

    The United States-International keyboard layout is selected.
For more help check here

May 22, 2011 | Microsoft Windows 7 Home Premium 64BIT...

1 Answer

Define a character array and use strcpy() to copy a string into it. Print the string out by using a loop with a pointer to print out one character at a time. Initialize the pointer to the first element and...


Nice, computer science homework.
int main () { char str[]="this is my string";
//print our string forwards int i = 0; while(str[i]!="\0") { putchar( str[i] ); i++; }
//newline putchar('\n');
//print our string backwards int length = strlen(str); while(length--) { putchar( str[length] ); } }
I didn't test this to make sure it worked, but this is the general way of doing this. It looks like your professor wants you to use pointers. I used pointers here. Do you know how? Arrays are pointers with some syntactic sugar.
I wouldn't rely on sites like this to get answers to your homework. Even if you get the right answer, there's always the possibility of your CS professor finding this answer online and then making your future homework ten times harder.

Mar 01, 2011 | Computers & Internet

1 Answer

I need a diagnostic tool for RAID falure code 0. Initial boot indicates degraded condition. DISK scan does not seem to remedy the issue. Did the drive actuually fail? Is there a fix? Primary disk still...


It looks like you have two arrays here. The first one being a mirrored RAID array and has only one disk. This means that the other disk has failed in some sort. This does not mean that the drive is bad, just the RAID failed for some reason. You will need to rebuild the RAID if you want to maintain the same level of redundancy.

You can just attempt a rebuild the RAID to the same drives but if this fails you will want to replace the bad drive. In order to do this you will need to make sure you can tell which drive is which. You do not want to mirror the bad drive to the good one.

If attempting a rebuild to the existing drive does not work or is not an option (because the failed drive could really be bad), you will need to determine which physical drive needs to be replaced. You may be able to hot-swap the drive but if you can power things down, that is always safest. Once the new drive is installed, you can rebuild to it and all should be well after that.

Jan 04, 2011 | Dell Dimension 9100 PC Desktop

1 Answer

I don?t understand the use of pointers in C++


Pointers are variables which store memory address of other variables.
It is denoted by an astrix *
Pointers and normal variables must have same data types.
Need of Pointers:
As said pointers variables store memory addresses of other variables, this can be used when we want to perform some calculations on a variable, we pass the address of this variable to the function from using pointers, thus any changes made to the variable will directly affect the variable as it is pointed to the same memory location.
It can also be for pointing various memory locations e.g. video memory. In the days of Dos we could actually read and write directly on to the video memory using address 0xB8000000 hexa decimal address.
Declaring a pointer:
int a = 10;
int *p = &a;
Here are passing address of a to p. Make sure that the data types should be same.
When we use pointers as arrays, it is much faster then the usual array iterators.
int num[] = {43,52,54,53};
int i=0, *j;
j=&num[0];
while(i<=3) { cout<<"num ["<<i<<"] = "<<*j<<endl; j++; } // This peice of code is faster than following method
for (int i=0;i<=3;++) { cout<<"num ["<<i<<"] = "<<num[i]<<endl; }
As we are directly working on memory.
Pointers are most commonly used to allocate memory dynamically, using new operator.
int *p = new [10];
This code allocates for 10 integer type array dynamically.
Dont forget to release the reserved memory using new operator by delete operator.
delete []p; // Frees the reserved memory.
This is an overview of pointers, as it requires study and practice.
Please rate. Thanks :)

May 09, 2010 | Computers & Internet

1 Answer

Cant get past language selection


Fiend your solution direct from nintendo. Here is your solution....
http://www.nintendo.com/wiiconsole/prob676ijt65/solution

milonkoli4

Dec 26, 2009 | Nintendo Wii Console

1 Answer

In my keybord the punctuation are changed ...my computer come from portugal..and now i have just download the windows 7 in english version.. now the problem is the punctuation of my keybord like ? - , . [...


You need to add the English keyboard.
Follow these instructions:
  • Windows 7 or Windows Vista
    1. Click Start Collapse this imageExpand this imagevistastartbutton.jpg, type intl.cpl in the Start Search box, and then press ENTER.
    2. On the Keyboards and Language tab, click Change keyboards.
    3. Click Add.
    4. Expand the language that you want. For example, English (United States).
    5. Expand Keyboard list, select the United States-International check box, and then click OK.
    6. In the Default input language list, click Language name - United States-International (where Language name is the language that you selected in step 4), and then click OK two times.
    7. In the Regional and Language Options dialog box, click OK.

      Notice that the Language bar appears on the taskbar. When you position the mouse pointer over it, a ToolTip appears that describes the active keyboard layout.
    8. Click the Language bar, and then click United States-International on the shortcut menu that appears.

      The United States-International keyboard layout is selected.
ASpecialty4You.com


Dec 20, 2009 | Acer Extensa 5630-4933 Notebook

1 Answer

What problems come in project of library management


stack mismatch, over flow, memory dispatch, dynamic array alloaction, pointer conversion, type mismatch are some of the problem u experience in all projects

Oct 27, 2009 | ArcMedia JavaScript Source Code 3000 Pro...

1 Answer

Please Solve this C++ Program


Write a program to prompt the user to input several lines of input. A line of inputs is terminated by '*'. For each readline of input the program should output:(use pointer notation for the array) . The total # of words . The lenght of the longest word in the line At the end the program should output: . The total number of words read in all lines of input . The lenght of the longest word read in all lines of input

Jan 19, 2009 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

49 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...