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 |
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }
write a program in c to print **** * * * * ****
write a program to insert an element at the specified position in the given array in c language
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
Difference between constant pointer and pointer to a constant.
What will happen when freeing memory twice
what is the difference between arrays and linked list
26 Answers MAHINDRA, Tech Mahindra, Wipro,
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
Write a program for Overriding.
What does %p mean c?
What do you mean by a local block?
How do you initialize function pointers? Give an example?