show how link list can be used to repersent the following
polynomial
i) 5x+2
Answer / Priyanka Gautam
A linked list representation of the polynomial 5x + 2 consists of two nodes. The first node (head) contains a coefficient of 0, and a pointer to the next node. The second node contains a coefficient of 5 and a pointer to null as there is no subsequent term in the polynomial.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is use#in c
differnce between do and do while
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()
What is the value of h?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
Explain #pragma statements.
write a program to print the one dimensional array.
Tell us bitwise shift operators?
I heard that you have to include stdio.h before calling printf. Why?
Explain the bubble sort algorithm.
what is the difference between #include<> and #include”…”?
Write a C program in Fibonacci series.