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

How many levels deep can include files be nested?

0 Answers  


What is far pointer in c?

0 Answers  


What is extern variable in c with example?

0 Answers  


How many bytes are occupied by near, far and huge pointers (dos)?

0 Answers  


What is auto keyword in c?

0 Answers  






size maximum allocated by calloc()

3 Answers   DELL,


main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

4 Answers   Vector, Wipro, Zoho,


Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female

5 Answers   Infosys, Luminous,


write a program to print calender using for loop.

1 Answers   HCL, TCS,


What is oops c?

0 Answers  


logic for x=y^n

1 Answers   Delphi,


Explain how do you determine a file’s attributes?

0 Answers  


Categories