Explain can you assign a different address to an array tag?
Answer / Bushra Khan
In C language, arrays are stored in contiguous memory locations. The first element of an array is stored at the base address and subsequent elements are stored in increasing memory addresses. Therefore, it is not possible to directly assign a different address to an array. However, you can use pointers to manipulate the memory location of an array.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
what is void pointer?
Is python a c language?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }
write a own function for strstr
What is a buffer in c?
What is the significance of c program algorithms?
write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..
What is modifier & how many types of modifiers available in c?
Explain argument and its types.