Loading...
Engaged Employer
Function to find the size of a datatype using different approaches(without using any built-in function).
Anonymous
I gave the answer using bit operators.
#define mysizeof(type) ((typeof(type)*(0)) + 1) - ((typeof(type)*)0)
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.