Home / MCQ Bank / Computer
Computer Pointer

Determine Output: main() { char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd")); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 8 5 5

Related Computer Questions

How do we define the term Thread? Which method in time series analysis involves comparing actual values with predicted values to assess forecast accuracy? What is the output of the following code: my_list = [5, 8, 2, 6] print(max(my_list)) What is the primary function of "Pandas" library in Python for data science? What is a time complexity for x pattern occurrence of length n?