What is diffrance between declaration and defination of a variable or function

Answer Posted / nagarjuna reddy

once a variable is defined it'l never change through entire
program.
but declaration of a variable can be changed as per our
requirement.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is flag a keyword in c?

694


What is wrong in this statement?

619


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1594


What do you mean by a local block?

639


What is a pointer variable in c language?

653






What does typedef struct mean?

674


What is meant by initialization and how we initialize a variable?

595


What is the maximum no. of arguments that can be given in a command line in C.?

678


How do you define structure?

577


What is #include stdio h?

696


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

920


How is a structure member accessed?

594


Can we assign integer value to char in c?

627


Write a program to print all permutations of a given string.

654


With the help of using classes, write a program to add two numbers.

626