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

How to visualize data on loriot server?
if statement in while loop arduino
blinking all led at a time in arduino uno
ESP8266 AT response is OK But Cannot Reset it
How do I make two servo's move in opposite directions?
Sparkfun CAN BUS sheild with arduino UNO
Using Arduino and Motor Shield
AT+CSQ? returns error
Array accessing in arduino and for loop
Bluetooth module won't function when working with leapmotion
switch on or off the motor based on the reply of the user
IS my Modulo usage incorrect? What can
Use analog output as digital in relay pins
Arduino Uno and ESP8266-01
Power supply for raspberry and arduino
Arduino UNO and MPU 6050

Categories

HOME
maven
client
hook
heroku
dictionary
youtube-dl
sharepoint-designer
ckeditor
cross-browser
indesign
add
virtualization
maude-system
kibana-4
reveal.js
numeral.js
google-cloud-spanner
carthage
jsprit
normalizr
nodatime
autocad-plugin
riot.js
jasonette
css-animations
sylius
spark-jobserver
centos6.5
windowbuilder
quote
binary-data
calibre
windows-dev-center
rotational-matrices
mmenu
appfabric
serve
hockeyapp
espeak
serverside-rendering
ssjs
gzipstream
android-mediaprojection
eigenvalue
arena-simulation
checkboxlist
segment
scorm
azure-application-gateway
network-flow
hendrix
python-webbrowser
fancybox-2
tropo
statsd
darcs
composite-key
imanage
topbeat
specrun
cubes
abcpdf9
removechild
savon
skobbler-maps
django-debug-toolbar
bstr
qpid
multiple-regression
angstrom-linux
ubuntu-10.04
ptrace
revolution-r
freelancer.com-api
srand
emailrelay
tableau-online
service-accounts
npapi
network-interface
article
p4java
seaside
html5-notifications
gridfs
inbox
odata4j
dataservice
easy-install
cos
lcs
typoscript2
chuck
rdoc
runas
chrono
bigcouch
gwt-ext
pydot
data-loss
calling-convention
iphone-web-app
audio-capture
xetex
private-members
msdev
data-acquisition
windows-live-messenger

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App