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 |
Why n++ execute faster than n+1 ?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
Why c is called object oriented language?
for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float
control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent
Can we access the array using a pointer in c language?
how to find out the union of two character arrays?
What are the 4 types of organizational structures?
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
How to set a variable in the environment list?