Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
An Uncommon representation of array elements in C/C++
This is a simple C++ program of an uncommon representation of array elements.
#include<iostream>
using namespace std;
int main() {
int array[5] = {7,7,7, 6, 6};
for (int i = 0; i < 5; i++)
cout<<*(array+i);
return 0;
}
Output
7 7 7 6 6
Advertisements