#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
what value is returned to operating system after program execution?
write a c program in such a way that if we enter the today date the output should be next day's date.
What are the 32 keywords in c?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
what are the different storage classes in c?
How can you increase the allowable number of simultaneously open files?
Why c is procedure oriented?
What is the difference between if else and switchstatement
swap 2 numbers without using third variable?
When is the “void” keyword used in a function?
What is the difference between int main and void main in c?
if p is a string contained in a string?
how do you programme Carrier Sense Multiple Access
Do string constants represent numerical values?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }