Question: The answer is 7 4 3 . However, I do not understand why n = 3 at the end. #include #include int main ( int
The answer is However, I do not understand why n at the end.
#include
#include
int main int argc, char argv
char str argv;
char str argv;
const char ch ;
char p;
p strchrstr ch;
printfc p;
p strrchrstr ch;
printfc p;
int n strspnstr str;
n strcspnstr str;
n strnlenstr;
printfi n;
return ;
Given the code above, what's the output if we run the program prog with the command prog
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
