Question: C programming //Q1. D)Produce the output by printf. //5 narks printf(ispunct(';') says %s , ispunct(';') ? Yes : No); printf(ispunct('Y') says %s in, ispunct('Y') ?

C programming
 C programming //Q1. D)Produce the output by printf. //5 narks printf("ispunct(';')

//Q1. D)Produce the output by printf. //5 narks printf("ispunct(';') says %s ", ispunct(';') ? "Yes" : "No"); printf("ispunct('Y') says %s in", ispunct('Y') ? "Yes" : "No"); printf (-sgraph(, ') says %s ", isgraph( ') ?-Yes" : "No"); i printf("isprint("Nt') says %s ", isprint('\t") ? "Yes" ; printf("ispunct("#n ays-sin,-ispunct(3.) ?-"Yes"-"No") 2) Complete the code in the box to produce the output as shown below. (4 marks) //Output c contains: Its a nice eve //code char a[] - "Its a nice evening"; char b[65): char c[15]; strncpy(c, a, ); printf("c contains: %s", ); Page 2 of 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!