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
What are the differences between Structures and Arrays?
Explain the priority queues?
What are the valid places to have keyword “break”?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
int i=10; printf("%d %d %d", i, i=20, i);
Explain data types & how many data types supported by c?
Explain void pointer?
What are the 5 organizational structures?
What is optimization in c?
Write a program in c to replace any vowel in a string with z?
Difference between pass by reference and pass by value?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is the general form of a C program?
What is bubble sort technique in c?
How do you redirect a standard stream?