#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


Please Help Members By Posting Answers For Below Questions

what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1998


What does a pointer variable always consist of?

654


What is chain pointer in c?

595


Simplify the program segment if X = B then C ← true else C ← false

2575


What is structure pointer in c?

565






Is c a great language, or what?

596


Define the scope of static variables.

596


Is there sort function in c?

570


How can a string be converted to a number?

506


What is getche() function?

601


Differentiate between #include<...> and #include '...'

612


What is array of structure in c programming?

743


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2193


Can the curly brackets { } be used to enclose a single line of code?

707


Why do some versions of toupper act strangely if given an upper-case letter?

624