There is no difference, other than that declarations in C++ can also initialise the variable in a single instruction.
C example:
int x; // declaration
x=5; // initialisation
C++ example:
int y=5; // declaration and initialisation combined.
Copyright © 2026 eLLeNow.com All Rights Reserved.