653 views
1 votes
1 votes
Please kindly tell the full code with the use of sizeof() operator.

 

Thanks!

1 Answer

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. 

selected by

Related questions

0 votes
0 votes
1 answer
3
Prithvi asked Jun 14, 2018
262 views
1 votes
1 votes
1 answer
4
radha gogia asked Nov 11, 2018
1,718 views
In X+y+z<=12 , X,y,z>=1 How to find total no of integral solutions ?If you are introducing any dummy variable for solving , please do explain the logic behind this .