1. The following function takes a pointer to an integer and returns its cube in the process:

Modify this function, so that its return type is void and it still does the same job (i.e. calculating the cube of value to which 'p' is pointing).
2. What do these two statements do and what's the difference between them?

4. What are the differences between an array and a linked list?
5. Write the definition of struct node for a double linked list.
("Try karaien, mein ne bhi try nahi kia... Ziada se ziada kia ho ga... Error aa jaye ga?" - Mr. Kausar in Lab Session 3)
3 comments:
hehehehe.......viva ceremony!!!!
Mr.Kausar ko to khud tution ki zroorat hai abi.....
lovely comments posted by peoples
Post a Comment