i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / guest
k=4
Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
What is the function of volatile in c language?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain the use of bit fieild.
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Is array a primitive data type in c?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
How can you tell whether two strings are the same?
Can we initialize extern variable in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What's the right way to use errno?
What is operator promotion?
Why is c so powerful?
Is c object oriented?
What are the advantages of c language?
How does pointer work in c?