#define min((a),(b)) ((a)<(b))?(a):(b)
main()
{
int i=0,a[20],*ptr;
ptr=a;
while(min(ptr++,&a[9])<&a[8]) i=i+1;
printf("i=%d\n",i);}
Answer Posted / bj
4
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What does a pointer variable always consist of?
What is chain pointer in c?
Simplify the program segment if X = B then C ← true else C ← false
What is structure pointer in c?
Is c a great language, or what?
Define the scope of static variables.
Is there sort function in c?
How can a string be converted to a number?
What is getche() function?
Differentiate between #include<...> and #include '...'
What is array of structure in c programming?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
Can the curly brackets { } be used to enclose a single line of code?
Why do some versions of toupper act strangely if given an upper-case letter?