define function
Answers were Sorted based on User's Feedback
Answer / desh deepak
A Function is a self-contained block of statement that
perform a Coherent task of some kind. c program is
collection of function.
generel form of function.
function(arg1,arg2,arg3)
type arg1,arg2,arg3;
{
statement1;
statement2;
statement3;
statement4;
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sugumar
Functions let us create logical groupings of code
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nirmal super star
a fns. is set of instructions that perform a specifide task
which repeatedly occurs in main prgm. .
| Is This Answer Correct ? | 2 Yes | 0 No |
a function is a block of code or a logic by using some
methods that to be executed.
| Is This Answer Correct ? | 2 Yes | 0 No |
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
how to find sum of 5 digits in C?
What is the significance of an algorithm to C programming?
What is function prototype?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"
What is meant by global static? why we have to use static variable instead of Global variable
Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Explain the array representation of a binary tree in C.