• Source
    1. #include <stdio.h>
    2. #include <string.h>
    3.  
    4. int main(void) {
    5. // your code goes here
    6. volatile char temp[] = "pandyaelectronics";
    7. printf("size of string : %d \n", strlen(temp));
    8. printf("size of array : %d \n", sizeof(temp));
    9.  
    10. return 0;
    11. }
    12.