Try to search your question here, if you can't find : Ask Any Question Now ?

Increment int pointer value – Doesn't work

HomeCategory: stackoverflowIncrement int pointer value – Doesn't work
Avatarcraig asked 4 months ago

I’m trying to print an int array, but it gives me an error.

error: lvalue required as increment operand

int *a[] = {1,2,3,4,5};
for(int i=0;i<5;i++)
1 Answers
Best Answer
AvatarMatthias answered 4 months ago
Your Answer

4 + 3 =

Popular Tags

WP Facebook Auto Publish Powered By :