main()
{
int ptr[] = {1,2,23,6,5,6};
printf("%d",&ptr[3]-&ptr[0]);
}
Answer Posted / sandeep
3
because aray pointer arthematic considers positions(index) of aray
| Is This Answer Correct ? | 46 Yes | 10 No |
Post New Answer View All Answers
Can you please compare array with pointer?
What is c programing language?
What is variables in c?
How can I call a function with an argument list built up at run time?
What is your stream meaning?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How can this be legal c?
How to write c functions that modify head pointer of a linked list?
How is pointer initialized in c?
ATM machine and railway reservation class/object diagram
Is there any demerits of using pointer?
Explain what happens if you free a pointer twice?
How old is c programming language?
write a program for the normal snake games find in most of the mobiles.
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?