jeudi 23 juillet 2015

Output of C++ program? [duplicate]

This question already has an answer here:

What will be the output of following C++ code?

#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
int a =5;
cout<<a<<++a<<a<<a++<<--a<<a;
return 0;
}

Aucun commentaire:

Enregistrer un commentaire