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 are the advantages of using Unions?
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Explain built-in function?
main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }
How is null defined in c?
Explain high-order and low-order bytes.
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
Explain 'far' and 'near' pointers in c.
what is available in C language but not in C++?
10 Answers CTS, TCS,
What are the salient features of c languages?