what do you mean by defining a variable in our c code?
Answers were Sorted based on User's Feedback
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 |
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 |
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Explain c preprocessor?
What is the use of getch ()?
What is the concatenation operator?
How was c created?
Explain what does a function declared as pascal do differently?
What does c mean before a date?
what is the difference between declaration and definition of a variable or function ?
main difference between c and c++ language
1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What are the types of type qualifiers in c?