Answer Posted / rushabh
scanf("[^\n]s",s);
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What functions are used for dynamic memory allocation in c language?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Tell me the use of bit field in c language?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
When we use void main and int main?
What is the significance of an algorithm to C programming?
Explain what is the heap?
Explain how to reverse singly link list.
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
How is a pointer variable declared?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
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 ].
Explain what is the concatenation operator?
List the difference between a While & Do While loops?
What are Macros? What are its advantages and disadvantages?