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 |
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
Define VARIABLE?
Why C language is a procedural language?
Explain the use of bit fieild.
Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program
1 Answers Accenture, Concor, DMU, Satyam, Syntel, Tora,
If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).
5 Answers Microsoft, Motorola,
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Which is the memory area not included in C program? give the reason
How to write a multi-statement macro?
An array name contains base address of the array. Can we change the base address of the array?
Explain about the functions strcat() and strcmp()?
write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)