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
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What do you mean by invalid pointer arithmetic?
What is a stream in c programming?
number of times a digit is present in a number
What is the auto keyword good for?
What are identifiers c?
Explain argument and its types.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is this infamous null pointer, anyway?
Why we use void main in c?
What is the purpose of void in c?
How many header files are in c?
#include
With the help of using classes, write a program to add two numbers.
What does int main () mean?