how to print value of e(exp1)up to required no of digits
after decimal?
Answer Posted / sundarapandian
i dont no the answer please tell that answer
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are the two types of functions in c?
Is a pointer a kind of array?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What are the scope of static variables?
What is #line in c?
How do you construct an increment statement or decrement statement in C?
What are structures and unions? State differencves between them.
What are the uses of null pointers?
Is it cc or c in a letter?
What is modifier & how many types of modifiers available in c?
What do the functions atoi(), itoa() and gcvt() do?
What is an lvalue in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Did c have any year 2000 problems?