Category: Programming
Googled it the term and liked those http://stackoverflow.com/questions/18840422/do-negative-numbers-return-false-in-c-c http://stackoverflow.com/questions/18890534/c-how-can-i-return-a-negative-value-in-main-cpp
C++ is a OOP Version of C… A class is a blueprint of an object…..Basically a object…
struct Books{ char title[50]; char author[50]; char subject[100]; int book_id; }book; #include<iostream> #include<cstring> using namespace std; struct…
I/O stream: #include<iostream> using namespace std; int main(){ char name[50],age; cout<<“enter name:”; cout<<“Age:”; cin>>name>>age; cout<<“Name: “<<name<<endl<<“Age: “<<age<<endl;…
#include<iostream> using namespace std; int main() { int i; double d; int &r=i; double &s=d; i=5; cout<<“Value…
Actually C++ strings are two types 1. Traditional C style character string 2. String class type Introduces…
Recent Comments