The variables are
int sum=10,SuM=20;
these are same or different?
Answer Posted / sanjay kumar gupta
both are different because it is in c language.it is a case
sensitive language.sum & SUM(capital) both are different
variable.there are two location in the memory 1 for sum and
other for SUM.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is static identifier?
What is getch?
What is static and volatile in c?
What is array in c with example?
Where can I get an ansi-compatible lint?
What is malloc calloc and realloc in c?
What are the primitive data types in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Do string constants represent numerical values?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What Is The Difference Between Null And Void Pointer?
What is the difference between a string and an array?
What is the best style for code layout in c?
What is meant by 'bit masking'?
Can you please explain the difference between exit() and _exit() function?