Learn with Vikas Suhag
VR Indian Wanderers Learn with Vikas Suhag Govt Jobs Free Chart Maker Stock Trekker Youtube Instagram RSS Feed
Program to demonstrate working of sizeof operators in C Language
Nov 27, 2021   Vikas Suhag

sizeof operators in C Language

#include <stdio.h>
void main()
{
float n = 0;
printf("size of n: %d",sizeof(n));
}

// 1 byte=8 bits
// size of int 4 bytes = 32 bit = 2^32 =?
// size of integer = 4 bytes
// this may give different results turbo C, borland C, ANSI C, Dev C++.
// values and size of data type will depend upon compiler.


Leave a Comment

* Email will not be published.
All comments are only visible after approval.
Most Viewed articles
Travel Blog - VR Indian Wanderers
VR Indian Wanderers
Govt. Jobs Portal
Govt. Jobs Portal
Free Chart Maker
Make free animated Charts from .CSV
Search
Youtube Channel
Subscribe to Email Updates
Connect With Us
VR Indian Wanderers Learn with Vikas Suhag Govt Jobs Free Chart Maker Stock Trekker Youtube Instagram RSS Feed
© 2025 Learn with Vikas Suhag. All Rights Reserved.