what do you mean by defining a variable in our c code?
Answer Posted / 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 |
Post New Answer View All Answers
How does placing some code lines between the comment symbol help in debugging the code?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Difference between goto, long jmp() and setjmp()?
Is calloc better than malloc?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Why is main function so important?
Why are algorithms important in c program?
What are the differences between Structures and Arrays?
What is the benefit of using const for declaring constants?
Explain enumerated types.
Process by which one bit pattern in to another by bit wise operation is?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Differentiate between ordinary variable and pointer in c.
How main function is called in c?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE