Question: solve it now What is the functionality of given piece of C code; int i=0; char st[10]=se101; while (st[i] != '0') { printf(%c, st[i]); i++;
What is the functionality of given piece of C code; int i=0; char st[10]="se101"; while (st[i] != '\0') { printf("%c", st[i]); i++; } a) print nothing on the screen b) print the contents of string on the screen all at once c) print the contents of string on the screen character by character d) throw an error a correct answer: a correct answer: b correct answer: C d) correct answer:d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
