answersLogoWhite

0


Best Answer

i cant write

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write c program to perform sum of elements of matrix using pointers with functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


Why you divide a program into functions?

In order to make a large program more manageable, it is convenient to identify and isolate specific tasks that a program performs and to separate out those tasks into functions. These functions are used/invoked as needed by the main part of the program. They can also be invoked by other functions. Often a program will perform the same task in different parts of the program. Using a function to perform the task and invoking the function from the different parts of the program means that only one copy of the code is needed. This helps reduce the size of the program.


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 is the definition of computer program?

A combination of computer instructions and data definitions that enable computer hardware to perform computational or control functions.


What does the word computer application mean?

It is a software or program designed to allow a user to perform a veriety of coordinated user defined functions


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.


How data processing cycle work?

The instructions of a program generally direct the computer to perform three basic functions over and over again. These functions are input, processing and output. Collectively, these functions operate the data processing cycle.


_________, also called a program, tells the computer what tasks to perform and how to perform them?

program


Write a c program to copy two strings using pointers?

nahi malum