An array name contains base address of the array. Can we
change the base address of the array?
Answers were Sorted based on User's Feedback
Answer / sandeep rehlan
Not, we cann'e base change the base address of the array
because base address is a constant value.
like
int const i=5;
i++;
in this case i cann't be incremented. So, the base address
cann't be incremented.
| Is This Answer Correct ? | 6 Yes | 1 No |
It's not possible , address is an default we can't change
that value
| Is This Answer Correct ? | 4 Yes | 3 No |
What is strcpy() function?
Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?
if we take a number as a char then can we manipulate(add, subtract) on this number
Can we access the array using a pointer in c language?
Why is malloc used?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
What is a #include preprocessor?
what is the difference b/w NULL and null?
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
how can i get this by using for loop? * ** * **** * ******
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran