Answer Posted / s.s gill
function: in function we can have different data types and can perform different operation according to our need. a function once created can be called anytime in given program.
Structure: in structure we can only assign data types to different variables that are to be used in our program. we cannot perform any operation inside a structure.
this is the major difference between function and structure
Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What does *p++ do? What does it point to?
Is null equal to 0 in sql?
Why we use void main in c?
Can we compile a program without main() function?
What is #line in c?
which type of aspect you want from the student.
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
The __________ attribute is used to announce variables based on definitions of columns in a table?
When was c language developed?
What is function prototype in c with example?
What are types of structure?
in linking some of os executables are linking name some of them
What is the difference between Printf(..) and sprint(...) ?
What type is sizeof?