FIND THE ERRORS? c) #include ; <= this semicolon is taken out #define Size = 2;<= semicolon out int a(Size)(Si

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: 899604
Joined: Mon Aug 02, 2021 8:13 am

FIND THE ERRORS? c) #include ; <= this semicolon is taken out #define Size = 2;<= semicolon out int a(Size)(Si

Post by answerhappygod »

FIND THE ERRORS?
c) #include <stdio.h>; <= this semicolon is taken
out
#define Size = 2;<= semicolon out
int a(Size)(Size) = {{1, 2}, {3, 4};
a(1, 1) = 5;
d) int *zPtr; *sPtr /* zPtr will reference array z;
int z(5) = {1, 2, 3, 4, 5};
zPtr = z;
++z;
zPtr++;
sPtr = zPtr/2;
*(zPtr+2) = 20;
C PROGRAMMING
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply