what do you mean by defining a variable in our c code?

Answers were Sorted based on User's Feedback



what do you mean by defining a variable in our c code?..

Answer / jugad

Defining a variable means declare its data type , i.e
declaration of data type is very important in c it may be
int, float , long , unsigned,
and initialisation is not so important if you are not
initilize any variable compiler just initialize some garbage
value to that variable.
Courtesy:
http://answerwale.co.cc/?p=24#comment-20

Is This Answer Correct ?    4 Yes 0 No

what do you mean by defining a variable in our c code?..

Answer / nikhil saxena

We only declare & initialize the variables in our code but
we never define them.

Is This Answer Correct ?    8 Yes 4 No

Post New Answer

More C Interview Questions

Do you know what are bitwise shift operators in c programming?

0 Answers  


How to draw the flowchart for structure programs?

0 Answers  


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


what are brk, sbrk?

1 Answers   Oracle,


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

0 Answers  






Explain what does the format %10.2 mean when included in a printf statement?

0 Answers  


Apart from dennis ritchie who the other person who contributed in design of c language.

0 Answers  


List some applications of c programming language?

0 Answers  


What are pragmas and what are they good for?

0 Answers  


What happens if header file is included twice?

0 Answers  


Explain what are binary trees?

0 Answers  


What is the value of c?

0 Answers  


Categories