difference between function & structure

Answer Posted / babitha_b

Functions:
a)used to separate the task which would run frequently
b)run seperately the frequent task whenever calling that
frequent task and then returned its value to the fucntion
who called this.
c)would decrease the complexity of code and helps to debug
easier.
d)also it can be used as a library fucntion.

Structure:
declaring different types of variables and functions under
single name.

Is This Answer Correct ?    14 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between declaring a variable and defining a variable?

717


Define recursion in c.

697


What is the difference between memcpy and memmove?

597


How does placing some code lines between the comment symbol help in debugging the code?

543


What are the application of c?

641






By using C language input a date into it and if it is right?

568


Describe newline escape sequence with a sample program?

651


Why is c called "mother" language?

855


State the difference between x3 and x[3].

648


What are the restrictions of a modulus operator?

628


Are bit fields portable?

671


What is pass by value in c?

593


How can I make it pause before closing the program output window?

576


Is it acceptable to declare/define a variable in a c header?

678


What does s c mean in text?

605