3 Solved Topics

Remove Filter
Member Avatar for Pavan_

here is the code.... [CODE] #include<stdio.h> int main() { int *k; *k=10; printf("%d %d",k,*k); return 0; } [/CODE] it compile perfectly. but on executing it is giving segmentation fault. where is the problem?

Member Avatar for tux4life
0
245
Member Avatar for Pavan_

Hello friends, i have some doubt and hope i will get an satisfactory answer from here. 1) Can memory addresses be negative........i have initialized an array and check the address of element and found it negative...so i want to know can it be negative and if yes then how addresses …

Member Avatar for ArkM
0
148
Member Avatar for Pavan_

Hello friends, I have have found lots of ways to implement a stack using different data structures. But i want to what us the best way (best means code understandability , performance) to implement a stack!! Share ur thought so i can reach to any final answer. Different ways ->1. …

Member Avatar for Salem
0
106

The End.