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 |
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
What does sizeof int return?
WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *
What does void main return?
Can a variable be both const and volatile?
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
List some of the static data structures in C?
What is a rvalue?
Can we change the value of constant variable in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
print the palindrome numbers in between 0 to n
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }