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 |
difference between malloc and calloc
Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(ā%cā, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.
1 Answers BladeLogic, Infosys,
What are c preprocessors?
What is wrong in this statement? scanf(“%d”,whatnumber);
What is function prototype?
Is boolean a datatype in c?
Give me the code of in-order recursive and non-recursive.
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
How can I pad a string to a known length?
What is pragma c?
Tell me what is null pointer in c?
What is extern c used for?