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

Answer Posted / deveshdashora

6

Is This Answer Correct ?    6 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by normalization of pointers?

619


Write the Program to reverse a string using pointers.

612


What is the translation phases used in c language?

625


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1055


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1107






What are the advantages of using Unions?

642


How do I determine whether a character is numeric, alphabetic, and so on?

618


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

705


What is getch c?

845


Is c# a good language?

602


What does != Mean in c?

582


What is action and transformation in spark?

589


How can you convert integers to binary or hexadecimal?

610


Write programs for String Reversal & Palindrome check

594


Is void a keyword in c?

570