i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / vishal bhardwaj
ans is : 4
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Do you have any idea about the use of "auto" keyword?
Explain the bubble sort algorithm.
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How many types of errors are there in c language? Explain
Explain what are reserved words?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
How are 16- and 32-bit numbers stored?
What is meant by high-order and low-order bytes?
program to convert a integer to string in c language'
Is null always defined as 0(zero)?
What does == mean in texting?
List out few of the applications that make use of Multilinked Structures?
Which is better pointer or array?
What is merge sort in c?
write an algorithm to display a square matrix.