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 does void main return?

0 Answers  


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

0 Answers  


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  


Explain how can you avoid including a header more than once?

0 Answers  


Give differences between - new and malloc() , delete and free() ?

0 Answers   Genpact,


what is event driven software and what is procedural driven software?

0 Answers  


whitch value return void main?

11 Answers  


Write a code to generate divisors of an integer?

0 Answers   Ericsson,


write a program in c language for the multiplication of two matrices using pointers?

8 Answers   Ignou,


Is exit(status) truly equivalent to returning the same status from main?

0 Answers  


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

0 Answers  


how to execute a program using if else condition and the output should enter number and the number is odd only...

0 Answers  


Categories