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 |
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
What is the use of sizeof () in c?
Write a program to print factorial of given number without using recursion?
How do I access command-line arguments?
What is 2c dna?
int x=sizeof(!5.856); What will value of variable x?
What is actual argument?
When should a type cast be used?
what is c
Can static variables be declared in a header file?
What are the 4 types of organizational structures?
What is spark map function?