C ProgrammingTU Board 2077
Find errors (If any) in the following program and rewrite it. define (studio.h) float main < int m [ ] [ ] = 1,2,3,4; for (i = 4, I =0 ; i ) for (j=0, j <4; j++); m [i] [j] = a[i][j] + b[i][j];…
5Find errors (If any) in the following program and rewrite it. #define (studio.h) float main < > int m [ ] [ ] = {{1,2,3,4}}; for (i = 4, I>=0 ; i--) for (j=0, j <4; j++); m [i] [j] = a[i][j] + b[i][j]; return 0. 0; }
A worked answer is on its wayMeanwhile, read the C Programming notes for this topic.
Discussion
Loading…
More C Programming questions
What is structure? Why do we need it? Write a program to add two distances given in meter and centimeter format using structure.TU Board 208310How do you declare and initialize pointer? Write a program to find first and second largest element from an array using pointer.TU Board 208310Why do we need external function? Distinguish between local and global variables. Write a function to find the average of five given integers using function.TU Board 208310Write a program to copy the content of one file to another in a reverse manner.TU Board 20835Discuss about compiling, assembling, loading and linking.TU Board 20835Write a program to find the length of a string without using built in function.TU Board 20835