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 we add pointers together?
What is the total generic pointer type?
What is an identifier?
Explain how can you tell whether a program was compiled using c versus c++?
Who invented bcpl language?
Is it better to use a macro or a function?
Can an array be an Ivalue?
a c code by using memory allocation for add ,multiply of sprase matrixes
Is r written in c?
What is structure padding in c?
Explain what are compound statements?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is the best way to comment out a section of code that contains comments?
What is a substring in c?
Where we use clrscr in c?