1 votes 1 votes Please kindly tell the full code with the use of sizeof() operator. Thanks! Programming in C programming-in-c + – iarnav asked Apr 18, 2017 iarnav 653 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply dd commented Apr 18, 2017 reply Follow Share what you need actually ? just find the size of an integer variable in your system using sizeof() or sizeof code itself ? 0 votes 0 votes iarnav commented Apr 18, 2017 reply Follow Share Actually I'm a beginner to C programming. So, can you tell the code what to write in my editor? 0 votes 0 votes Kapil commented Apr 18, 2017 reply Follow Share Check this for little bit info :- https://gateoverflow.in/120912/techtud-c-programming 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes I think he needs this. #include<stdio.h> int main(){ printf("Size of integer in your machine is = ℅u",sizeof(int)); return 0; } Return type of sizeof is unsigned int. Hence I have written ℅u in printf. rude answered Apr 19, 2017 selected Apr 19, 2017 by iarnav rude comment Share Follow See 1 comment See all 1 1 comment reply iarnav commented Apr 19, 2017 reply Follow Share Yes, thanks! That's what i needed. BTW, what's the meaning of this line return 0; What does it do? 0 votes 0 votes Please log in or register to add a comment.