Output :
x = 52221536
sizeof(x) = 20
sizeof(x[0]) = 4
#include <stdio.h>
int main()
{
int x[] = {1, 3, 5, 7, 9};
printf(" x = %8u\n", x);
printf(" sizeof(x) = %8d\n", sizeof x);
printf("sizeof(x[0]) = %8d\n", sizeof x[0]);
return 0;
}
x = 52221536
sizeof(x) = 20
sizeof(x[0]) = 4
#include <stdio.h>
int main()
{
int x[] = {1, 3, 5, 7, 9};
printf(" x = %8u\n", x);
printf(" sizeof(x) = %8d\n", sizeof x);
printf("sizeof(x[0]) = %8d\n", sizeof x[0]);
return 0;
}
একটি মন্তব্য পোস্ট করুন