Nov 23
Dynamic Memory Allocation in C, C++ - my strange experiences with gcc and g++
Telugu uma
Yesterday i learnt few strange things about malloc() in C and new, delete operators in C++.Compiler referred is gcc for C, and g++ for C++ programs.First one:int *a=malloc(sizeof(int) *0); //i am trying to allocate 0 bytes of memory and pointing that l...
పూర్తిగా చదవండి
పూర్తిగా చదవండి