***This is in C***
char Ch;
while ((Ch=getchar()) !=';')
putchar (Ch);
Will this code:
a. read and write characters until something other than a ; is read.
b. read characters up to and including the 1st semicolon, and write characters up to but not including the 1st semicolon.
c. read and write characters up to but not including the 1st semicolon.
d. skip characters up to the 1st semicolon, then write the next character.
I think the answer is c based on line 2 !=';'