engineering recuitment OPSC Assistant Industries Officer Mock Test 2025 Programming and Data Structure Programming in C Character String
What is the output of the code given below?
#include
int main( )
{
char name [ ]=”satellites”;
int len;
int size;
len = strlen(name);
size = sizeof(name);
printf(“%d”, len * size);
return 0;
}
1
100
2
110
3
40
4
44