devmingle
Home
Categories
Popular Codes
Articles
/
C++
/
Char
Char
Char
int mynumber = 10; double mydecima = 10.1405; string mytext = "10.1405 hello true"; bool myon_off = true; char mysinglecharacter = 't';
2
Char
#include<iostream> using namespace std; main() { char s[] = "Fine"; *s = 'N'; cout<<s<<endl; }
0
Source:
tutorialspoint.com
Share
Similar codes
0 vote
114 views
1 answer
Why do men drink liquor
C++
3 votes
94 views
1 answer
C++ check if string is empty
C++
2 votes
96 views
1 answer
How to use string variable in switch case in c++
C++
0 vote
80 views
1 answer
C plus plus hello world
C++
0 vote
114 views
1 answer
Fabs c c++
C++
0 vote
127 views
1 answer
Void setup() { // put your setup code here, to run once:in m}void loop() { // put your main code here, to run repeatedly:}
C++
0 vote
103 views
1 answer
CoinPiles
C++
1 vote
55 views
1 answer
Qt can't use ^ operator on qchar
C++
0 vote
106 views
1 answer
How to write a template c++
C++
2 votes
90 views
1 answer
How to create a structure c++
C++
Share