Tuesday, 3 July 2018
how to declare character type variable in c++
Write a program that store three values in character type of variables and display
solution
#include <iostream>
using namespace std;
int main() {
char a='A', b='D', c='G';
cout<<a<<" "<<b<<" "<<c ;
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment