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
FIND THE ERRORS? c) #include ; <= this semicolon is taken out #define Size = 2;<= semicolon out int a(Size)(Si
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!