Answer Posted / 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 |
Post New Answer View All Answers
How can I get back to the interactive keyboard if stdin is redirected?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
How can I trap or ignore keyboard interrupts like control-c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is the use of void pointer and null pointer in c language?
What do the functions atoi(), itoa() and gcvt() do?
What is the use of parallelize in spark?
What is huge pointer in c?
List the different types of c tokens?
how to construct a simulator keeping the logical boolean gates in c
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is modeling?
What is the difference between constant pointer and constant variable?