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
compilation error i is not declared as int
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
Is c is a low level language?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What is a static function in c?
What is the use of sizeof () in c?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What are conditional operators in C?
Is int a keyword in c?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
How many data structures are there in c?
Is c high or low level?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is clrscr in c?
How to define structures? ·
What is the difference between formatted&unformatted i/o functions?
Can i use “int” data type to store the value 32768? Why?