arduino-uno


What is the output of this arduino code?


My Arduino code is:
String myString;
void setup() {
// initialize serial and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
myString.reserve(26);
myString = "i=";
myString += "1234";
myString += ", is that ok?";
// print the String:
Serial.println(myString);
}
void loop() {
// nothing to do here
}
O/P: "i=1234, is that ok?"
Why so silly Question?
Is there any Special Reason or any math trick?

Related Links

Arduino UNO and MPU 6050
Understanding timer choices/options
Programming attiny45 chip and ir remote library
Arduino Uno: Running multiple servos
MPU 6050 SD Writing Frequency Arduino is not constant , how to have a constant writing frequency?
MPU 6050 giving values -1
P10 with Arduino, display negative/all pixels on
Arduino-uno project [closed]
Arduino digitalWrite not working in else
Shift register 74ch595 and Arduino
how to connect arduino ethernet to internet using my laptop's wifi connection
Arduino and motors
Why “fifoBuffer” values of indexes 2,3,6,7,10,11 are not passed in the teapotPacket[] array ?
Sending data from coordinator XBee(API) to router XBee(AT)
how can i add a while statement to this code for my binary game on the arduino uno
Arduino Programming in C: Why output is not the way it supposed to be?

Categories

HOME
log4j
pdf
client
wso2-am
azure-data-factory
json.net
dot
grep
mean-stack
microservices
twitter-bootstrap-4
win32gui
fsm
convolution
uber-api
amazon-cloudformation
vault
fancybox-3
offline
task
hex-editors
ups
aurigma
normalizr
reverse-proxy
extjs5
devops
trading
crosstab
java-7
sparse-matrix
semantic-analysis
chromebook
phpfox
maquette
log4js-node
libssl
librato
phonegap
data-manipulation
oracle-fusion-middleware
winrt-xaml-toolkit
commit
restlet
objectlistview
sqlite2
grid.mvc
import-from-excel
websphere-mq-fte
skeleton-css-boilerplate
parentheses
youcompleteme
clean-architecture
crypt
hittest
synchronous
messenger
jquery-filter
httplistener
probability-density
phishing
fuzzy-search
blackberry-10
superstack
php-internals
uid
jfugue
angular-leaflet-directive
microbenchmark
nsight
sniffer
javax.mail
oxwall
jsonpickle
camanjs
client-side-templating
phpthumb
prettify
ora-00911
pushbackinputstream
isnullorempty
trusted
tridion-worldserver
mercurial-server
routedevent
dbal
database-management
ugc
.net-1.0
rtml
caching-application-block

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App