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
Explain the Difference between the New and Malloc keyword.
What’s the special use of UNIONS?
write a program to generate address labels using structures?
Why c is called free form language?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Once I have used freopen, how can I get the original stdout (or stdin) back?
why programs in c are running with out #include
What is a constant?
Explain how are portions of a program disabled in demo versions?
How do you declare a variable that will hold string values?
What is header file definition?
How many keywords are there in c?
What are the features of c language?
How can I implement a delay, or time a users response, with sub-second resolution?