Author

Vineet Choudhary

I love building applications for mobile and desktop. I am always interested in learning new and better ways of doing things. Open content and exchange of information is something I am interested in.

What is Dangling Pointer with Cause and How to avoid it?

Dangling pointers in computer programming are pointers that pointing to a memory location that has been deleted (or freed). Dangling pointers arise during object destruction, when an object that has an incoming reference is deleted or deallocated, without modifying the value of the pointer, so that the pointer still points

Big-O Notation Explained with Examples

Asymptotic notation is a set of languages which allow us to express the performance of our algorithms in relation to their input. Big O notation is used in Computer Science to describe the performance or complexity of an algorithm. Big O specifically describes the worst-case scenario, and can be used

Vault 7: CIA iOS Developer Guide, Hacks, Notes and Tips & Tricks

1. Disable not charging Popups sudo defaults write com.apple.usbd NoIPadNotifications \-bool YES sudo defaults write com.apple.usbd NoIPhoneNotifications \-bool YES 2. Creating a read only .dmg from a folder hdiutil create ~/Desktop/newimage.dmg -volname "MyVolume" -srcfolder ~/Desktop/myfolder 3. Pairing Records Pairing records are the crypto

Why does the indexing of Array start with Zero in C?

Martin Richards, creator of the BCPL language (a precursor of C), designed arrays initiating at 0 as the natural position to start accessing the array contents in the language, since the value of a pointer p used as an address accesses the position p+0 in memory. The name of

Mathematics and number based challenges

The programming ideas/challenges featured here can be programmed in popular programming languages like C, C++, C#, Java, Go, Python, Ruby, JavaScript and PHP for either the Web, MacOS, Windows PC, Android, Windows Phone or iOS. Just fire up your favourite IDE, begin work on any of the program/projects

Memory Layout / Representation of C Program

Memory layout / representation of C program is organized in following fashion - Text or Code segment Initialized data segment Uninitialized data segment Stack Heap 1. Text or Code Segment Text segment contains machine code of the compiled program. Usually, the text segment is shareable so that only a single copy
Load more