Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

Discuss the research behind the notion of a pancultural self

Answered: 1 week ago

Question

12-5 How will MIS help my career?

Answered: 1 week ago