Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 495 Bytes

compiler-error-c2110.md

File metadata and controls

25 lines (21 loc) · 495 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2110
Compiler Error C2110
11/04/2016
C2110
C2110
48fd76ed-90d6-4a60-9c7b-f6ce9355b4ca

Compiler Error C2110

'+' : cannot add two pointers

An attempt was made to add two pointer values using the plus ( + ) operator.

The following sample generates C2110:

// C2110.cpp
int main() {
   int a = 0;
   int *pa;
   int *pb;
   a = pa + pb;   // C2110
}