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

What is double pointer?

0 Answers  


What are local and global variables?

3 Answers  


Explain what is the difference between functions getch() and getche()?

0 Answers  


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2 Answers   Cap Gemini, HCL,


What is the significance of c program algorithms?

0 Answers  






Define macros.

0 Answers   Tech Mahindra,


What do header files do?

0 Answers  


How can you find the exact size of a data type in c?

0 Answers  


How do shell structures work?

0 Answers  


What is a constant?

0 Answers  


Which is best linux os?

0 Answers  


What is a struct c#?

0 Answers  


Categories