main()
{
int ptr[] = {1,2,23,6,5,6};
printf("%d",&ptr[3]-&ptr[0]);
}

Answer Posted / mitesh mahera

I need a answer aboutthis question..if any can ?!

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are keywords in c with examples?

604


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1768


What is a pointer in c plus plus?

696


Using which language Test cases are added in .ptu file of RTRT unit testing???

3598


What is a built-in function in C?

795






write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1981


How do you do dynamic memory allocation in C applications?

630


What is variable and explain rules to declare variable in c?

555


Write a program to show the change in position of a cursor using c

580


Describe the modifier in c?

603


What is || operator and how does it function in a program?

627


What does it mean when a pointer is used in an if statement?

602


What is the best way of making my program efficient?

569


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2539


What do you mean by invalid pointer arithmetic?

637