Question: What will be the value of str after executing the following: int i; char str[] = ABC 1289; for (i =0; str[i]! 0; i++)
What will be the value of str after executing the following: int i; char str[] = "ABC 1289"; for (i =0; str[i]! 0; i++) { if ((str[i]>= 'A') && (str[i] = '0') && (str[i]
Step by Step Solution
There are 3 Steps involved in it
The image contains a piece of C code that manipulates a string The string is initialized as ABC 1289 ... View full answer
Get step-by-step solutions from verified subject matter experts
