Explain what is the difference between declaring a variable and defining a variable?



Explain what is the difference between declaring a variable and defining a variable?..

Answer / ss

Declaring variable means
Eg- int a;
Defining variable means we are giving some integer value to that a variable
Eg- a=100;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What does char * * argv mean in c?

0 Answers  


What are types of structure?

0 Answers  


discuss the steps needed to get a program from source code to executable in a system?

1 Answers  


How a string is stored in c?

0 Answers  


How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)

4 Answers  






what is ram?

3 Answers   TCS,


why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?

2 Answers  


program to print upper & lower triangle of a matrix

2 Answers   TCS,


How can I remove the trailing spaces from a string?

0 Answers   Aspire,


Is it possible to run a c program without using main?If yes HOW??

13 Answers   Wipro,


a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none

0 Answers  


which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


Categories