Tag Archives: To Sidhdharth Sir

Sir, Kindly explain the difference between cpu stack and cpu register ?

Posted in Uncategorized | Tagged | Leave a comment

Avtar Singh E-30.01.30

done first 9 assignments with some problems. main problem is coming in low level file input-output operations.

Posted in Data Structures with C | Tagged | Leave a comment

Pointers.

#include<stdio.h> #include<stdlib.h> int main() { void *ptr; char i; ptr = malloc(sizeof(int ) * 5); for(i = 0; i<(sizeof(int) * 5); i++) { *(int *)(ptr + i) = i; printf(” ptr + %d = %p\t %d\n”, i, (ptr + i … Continue reading

Posted in Data Structures with C | Tagged , | Leave a comment