answersLogoWhite

0


Best Answer

*

* *

* * *

* * * *

write the c++ program and show me brifily?

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to illustrate the usage of pointers with arrarys and functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write c program to perform sum of elements of matrix using pointers with functions?

i cant write


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


How pointers reduce the length of a program?

They don't.


Sample program for far pointers?

#include<stdio.h)


What is the difference between pointer and function?

Pointers and functions are two entirely different things, similar to comparing cats to oranges. A pointer allows a program to dynamically call functions and/or dynamically load or store data. Pointers are commonly called "dangerous" in most programming circles, which is why newer languages do not explicitly allow programmers to access them (although they may use them internally). They are dangerous because a pointer used incorrectly can corrupt data or crash a system (or at least an application). While this is true, they are not dangerous by themselves, it is the novice programmer's misunderstanding of pointers that is dangerous. Functions are pieces of code that can be used over and over again in various parts of a program without duplicating code. For example, a function that calculates simple interest might be used in several parts of a banking application. This way, if a bug was found in how simple interest was calculated, it could be fixed just once instead of scanning the entire code base to make sure it was fixed everywhere. Functions reduce source code size, executable size, and memory usage. Pointers can dynamically call functions, while functions are pieces of code that can execute. Functions have no concept of pointers, and do not care from where they are called.


What are the advantages of using pointers in a program?

pointers points to the memory address of another variable.....in functions we have two kind of variables the actual and dummy variable. when we operate on variables..the value of dummy variables are effected, but if we want to make changes in the actual variable then we have to refer to their address..and we can reach to address of the variables by only using pointers.


What kind of diagram graphically illustrates the structure of a program?

A flowchart is used to illustrate the logic of the program. To illustrate the structure we typically use a hierarchical tree, where the main function serves as the root.


Write a c program to copy two strings using pointers?

nahi malum


What will be the program to arrange numbers stored in array in ascending order using pointers?

sorry


The menu bar provides access to a program's functions through?

Commands provide access to a program's functions.


How do you run graphics program in C?

pro c language to implement linear search using pointers


The max number of functions you have used in a c program?

There is no limit to the number of functions you can have in a program. The only practical limit is dependant upon the amount of memory you have available in order to load the compiled program, whether it has 4 functions or 4 trillion functions. If the program makes use of dynamic libraries, then the amount of available memory reduces accordingly.