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
Describe the order of precedence with regards to operators in C.
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is int main () in c?
What is the best way to comment out a section of code that contains comments?
Explain how do you sort filenames in a directory?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Write a program to identify if a given binary tree is balanced or not.
What is file in c preprocessor?
Write a program to reverse a string.
What is floating point constants?
Is there anything like an ifdef for typedefs?
Differentiate between functions getch() and getche().
What is the purpose of realloc()?
What is string function c?
Why c is called object oriented language?