What is diffrance between declaration and defination of a variable or function
Answer Posted / deepak mundhada
1 when we declare a variable it gets memory allocated at
stack in ram.
definition means we are assigning value to that variable.
2 address of variable can be changed but address cant be
changed.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How would you rename a function in C?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Which function in C can be used to append a string to another string?
Tell me what is the purpose of 'register' keyword in c language?
Explain what are reserved words?
What does #pragma once mean?
What is the role of this pointer?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
develop algorithms to add polynomials (i) in one variable
What is the use of getchar() function?
What is break statement?
Explain what are preprocessor directives?
Hai what is the different types of versions and their differences
What is the use of extern in c?