i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / arun
4
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is uint8 in c?
Why enum is used in c?
What is the use of volatile?
Can you please explain the difference between malloc() and calloc() function?
What are the 5 types of inheritance in c ++?
What is clrscr in c?
What is fflush() function?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is property type c?
What is static memory allocation? Explain
What are the advantages and disadvantages of c language?
Explain what are binary trees?
Explain spaghetti programming?
What are the main characteristics of c language describe the structure of ac program?
What are control structures? What are the different types?