Question 5: Find the error in each of the following program segments and correct the error. #define SIZE 100; int a[ 2 ]

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 5: Find the error in each of the following program segments and correct the error. #define SIZE 100; int a[ 2 ]

Post by answerhappygod »

Question 5 Find The Error In Each Of The Following Program Segments And Correct The Error Define Size 100 Int A 2 1
Question 5 Find The Error In Each Of The Following Program Segments And Correct The Error Define Size 100 Int A 2 1 (202.52 KiB) Viewed 29 times
Question 5: Find the error in each of the following program segments and correct the error. #define SIZE 100; int a[ 2 ][ 2 ] = {1, 21, (3, 4 ] }; a[ 1, 1 ] = 5; int sum( int x, int y ) { int result; result = x + y; } char name [30]; scanf("%29s", &name [30]); 5. int x[]=(1,0,0), y[]-(0,1,0); printf ("2x+3y = %d",2*x +3*y); 3.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply