Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The size of the string for the given string declaration is .char str []=WISE; O a. 5 O b. 3 O c. 4 O d.
The size of the string for the given string declaration is .char str []="WISE"; O a. 5 O b. 3 O c. 4 O d. No size What should be the value of m for the below code to print "WEST"? if(m!=10 && m>=20) printf("EAST"); else printf("WEST"); O a. 50 O b. 10 O c. 40 O d. 21 The size of the string for the given string declaration is _.char str[]="WISE"; O a. 5 O b.3 O C. 4 O d. No size The size of the string for the given string declaration is _.char str[]="WISE"; O a. 5 O b. 3 O c. 4 O d. No size What is the value in sz as per the following given statements ? char nm[]="MICHAEL"; sz=strlen(nm); O a. 6 O b. 7 O c. O O d. 4 What is the value in Las per the following given statements ? char name[]="STEVEN"; L=strlen(name); a. 7 O b. 4 C. 6 O d.o What is the output of the below code snippet? char course[] = {'M,ATH'S''\0'}; printf("%c",course[2]); . O b. M. . O d. T
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started