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)
Take 10 integer inputs from user and store them in an array. Again ask user to give a number. Now, tell user whether that number is present in array or not with Eaglesoft
#include <iostream> using namespace std ; int main () { int _input [ 10 ], c = 0 , n , i = 0 , f = 0 ; // Take...
Website desing by Eaglesoft source code
<! DOCTYPE html > < html lang = "en" > < head > < title > Welcome to Eaglesoft </ title >...
single link list in cpp | oop in c++ single link list operations in cpp data structure | ds
#include <iostream> #include <string.h> #include <string> using namespace std; class node{ public: int rol...
No comments:
Post a Comment