#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 / guest
5
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Why does everyone say not to use gets?
What do you know about the use of bit field?
Why is c so popular?
Write program to remove duplicate in an array?
What is null in c?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
what are the 10 different models of writing an addition program in C language?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Why enum is used in c?
What are the features of c language?
What are the different types of endless loops?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is nested structure in c?
What is conio h in c?
What are the disadvantages of external storage class?