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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use strcmp?

831


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3730


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15428


How can I get the current date or time of day in a c program?

960


Explain the difference between exit() and _exit() function?

894


What do the functions atoi(), itoa() and gcvt() do?

910


What is the usage of the pointer in c?

832


What is volatile variable in c?

856


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1911


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2061


How do you list files in a directory?

803


a c code by using memory allocation for add ,multiply of sprase matrixes

2523


What is binary tree in c?

839


What is meant by 'bit masking'?

1114


Define C in your own Language.

817