Pages
Home
Eaglesoft Download
About us
Tuesday, January 12, 2021
Void pointer in c++
#include
<iostream>
using
namespace
std
;
int
main
()
{
int
a
=
23
;
float
b
=
21
;
void
*
x
= &
a
;
void
*
y
= &
b
;
cout
<<
"Address of a is "
<<
x
<<
endl
;
cout
<<
"Address of b is "
<<
y
<<
endl
;
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Difference between getch() and getche() function | getch() vs getche() w...
Most Common Coding Mistakes by Beginners
Most Common Coding Mistakes by Beginners Switching Between Multiple Languages No Roadmap Lone Wolf Programming Not Maintaining Notes Tutor...
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