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 declaration and definition in c?
What is static identifier?
Write a Program to find whether the given number or string is palindrome.
Explain the Difference between the New and Malloc keyword.
What is c mainly used for?
What will the preprocessor do for a program?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
Explain the properties of union. What is the size of a union variable
Is main an identifier in c?
Write a program to show the change in position of a cursor using c
Is return a keyword in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is the heap in c?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is New modifiers?