Pages
Home
Eaglesoft Download
About us
Monday, January 25, 2021
find lenght of string in cpp c++ with eaglesoft programmers
#include
<iostream>
#include
<string.h>
using
namespace
std
;
int
main
()
{
char
name
[
50
];
cout
<<
"enter your name"
<<
endl
;
gets
(
name
);
int
n
=
strlen
(
name
);
cout
<<
"Lenght of this string is :"
<<
n
<<
endl
;
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
What is RAM and ROM
What is RAM and ROM RAM RAM stands for Random Access Memory . RAM holds the data only temporarily. The information can be read...
HTML Programming lecture#16| HTML web development| HTML in Urdu |html fo...
Find IP address of any website by using python with Eaglesoft
import socket as s my_hostname=s.gethostname() print ( "Your host name is:" + my_hostname) my_ip=s.gethostbyname(my_hostname) ...
No comments:
Post a Comment