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

Answer Posted / jithin ramakrishnan

2

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to capitalise first letter of each word in a given string?

1434


Is null always defined as 0(zero)?

615


What is openmp in c?

612


What are predefined functions in c?

567


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

626






What is c language in simple words?

595


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2402


How can I open files mentioned on the command line, and parse option flags?

594


What is equivalent to ++i+++j?

643


What is the difference between NULL and NUL?

728


How would you rename a function in C?

619


How can I ensure that integer arithmetic doesnt overflow?

608


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3247


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

1768


Whats s or c mean?

593