Question:What will happen when the following code is executed?
void main()
{
    char arr1[] = "REGALINT";
    char arr2[10] = "REGALINT";
    printf("%d,",sizeof(arr1));
    printf("%d",sizeof(arr2));
}
 

A 1,1 

B 1,4 

C 8,8 

D 8,9 

E 9,10 

+ Answer
+ Report
Total Preview: 1656

Copyright © 2024. Powered by Intellect Software Ltd