Category: Codes

microsoft banished memcpy 1

microsoft banished memcpy

Microsoft has decided to ban another buffer manipulating function. This time it is memcpy(). Long after banning dubious security vulnerabilities like strcpy(), strcat(),  strncpy(), strncat(), gets(), microcoft has finally decided to ban the memcpy() function...

Program without main() 0

Program without main()

Often in classrooms we are taught that the main function is the ‘main’ function in a program! But it actually is not so. That is actually the default behavior of the compiler. The compiler...