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

What should malloc(0) do?

712


Differentiate between static and dynamic modeling.

717


write a program to find out prime number using sieve case?

1728


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1358


Sir i need notes for structure,functions,pointers in c language can you help me please

2032






What are enums in c?

751


Is c still used?

695


Explain what are reserved words?

724


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

869


What does the c preprocessor do?

723


Explain how can I remove the trailing spaces from a string?

709


Tell me what is null pointer in c?

687


Is main an identifier in c?

701


What does sizeof function do?

727


What is typedef?

810