Question: I cannot identify the error in this code: #include #include #include int main() { char input[30], out[30], gr; int na[26] = {0}; int n,i,j,k; int
I cannot identify the error in this code:
#include j = 0; for(gr = 'a'; gr<= 'z'; gr++) { k = gr - 'a'; for(i = 0; i return 0; } When I compile I am met with this error: Segmentation fault (core dumped)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
