what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / shabeer v c
A good example to illustrate this Question ges like this:
Whenever we apply for a job the company declares that we
have been selected. Similarly we declare a variable like
int emp;
(here emp behaves as an employee).
Then he will be assigned with a initial salary which
will be incremented in course of time period or on
experience basis.
Similarly the variable int is assigned a initial
value.
i.e int emp=20;
(value can be changed in between program)
The employee is now identified by his post, which can
define his status in the company.
Same way the variable is also defined in the
program.
ie. int emp;
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is array within structure?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
what is uses of .net
What are the benefits of c language?
Are the outer parentheses in return statements really optional?
What are the salient features of c languages?
What is #include stdio h and #include conio h?
Explain how do you view the path?
What are the ways to a null pointer can use in c programming language?
What does. int *x[](); means ?
What is an expression?
How can I avoid the abort, retry, fail messages?
What are enums in c?
Why are all header files not declared in every c program?