SizeOf operator in C : Why is the output 6?
#include <stdio.h>
#include <string.h>
char name[] = "aadit";
int main(void)
{
printf("%d\n",sizeof(name) );
}
Why is the output 6?
#include <stdio.h>
#include <string.h>
char name[] = "aadit";
int main(void)
{
printf("%d\n",sizeof(name) );
}
Why is the output 6?
Administrator • Mar 18, 2014
Member • Mar 18, 2014
Member • Mar 18, 2014
Member • Mar 18, 2014