Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What is the value in G as per the following given statements ? char fn[=GRAPHICS; G=strlen(fn); a. 2 b. 6 C. O d. 8 Question
What is the value in G as per the following given statements ? char fn[="GRAPHICS"; G=strlen(fn); a. 2 b. 6 C. O d. 8 Question 20 Not yet answered Marked out of 1.00 Flag question What is the value in string st1] of the below code snippet? char st1 I ="Jacob"; char st2 [] ="Jones"; strcat(st1,st2); a. Jacob b. Jones c. Jacob Jones d. Jones Jacob What is the output of the below code snippet? char country[5] = {'O'M',A,N,\0'}; printf("%c",country[1]); a. M b. A c. O d. c Question 18 Not yet answered Marked out of 1.00 P Flag question What is the value in string st2 of the below code snippet? char st1 [] ="John"; char st2 ) ="Bob"; strcpy(st1,st2); a. Bob b. BobJohn C. JohnBob d. John K
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