Sizeof Operator in C Programming Language

Published: 27 January 2020
on channel: Technotip
1,482
19

http://technotip.com/7054/sizeof-oper...

Lets write a C program to see how to use sizeof() method or function in C programming language.

sizeof() is a builtin method/function present in C programming. It is used to calculate the size(in bytes) that a datatype occupies in the computers memory.

sizeof() method takes a single argument and it is not a function whose value is determined at run time, but rather an operator whose value is determined by compiler – so it’s called as compile time unary operator.

sizeof() method can be used with primitive data type like int, float, char or user defined data types like structures, unions etc.

C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...

C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...


Watch video Sizeof Operator in C Programming Language online without registration, duration hours minute second in high quality. This video was added by user Technotip 27 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,482 once and liked it 19 people.