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


Please Help Members By Posting Answers For Below Questions

How does placing some code lines between the comment symbol help in debugging the code?

548


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2271


Difference between goto, long jmp() and setjmp()?

710


Is calloc better than malloc?

578


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.

2652






Why is main function so important?

617


Why are algorithms important in c program?

620


What are the differences between Structures and Arrays?

609


What is the benefit of using const for declaring constants?

588


Explain enumerated types.

599


Process by which one bit pattern in to another by bit wise operation is?

615


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

606


Differentiate between ordinary variable and pointer in c.

618


How main function is called in c?

629


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

1470