Search
 
SCRIPT & CODE EXAMPLE
 

CPP

c++ void poiinter

#include<stdio.h>
int main()
{
    int a = 10;
    void *ptr = &a;
    printf("%d", *ptr);
    return 0;
}
Comment

c++ void poiinter

#include<stdio.h>
int main()
{
    int a[2] = {1, 2};
    void *ptr = &a;
    ptr = ptr + sizeof(int);
    printf("%d", *(int *)ptr);
    return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: C+++++++++++++++++++++++++++ JAVA 
Cpp :: enter items in array until enter is pressed c++ 
Cpp :: progress indicator raytracer 
Cpp :: error C2011 
Cpp :: heapsort 
Cpp :: stack implementation 
Cpp :: how to do if command in c++ 
Cpp :: i++ i-- 
Cpp :: How do you count the occurrence of a given character in a string? c++ 
Cpp :: c++ online 
Cpp :: 3. The method indexOf, part of the List interface, returns the index of the first occurrence of an object in a List. What does the following code fragment do? 
Cpp :: #include <iostream #include <stdio.h using namespace std; int main() { int a[5]; a[0]=12; a[1]=13; a[2]=14; a[3]=15; 
Cpp :: adding two dates using necessary member function in c++ 
Cpp :: c++ to mips converter online 
Cpp :: c++ Difference Array | Range update query in O(1) 
Cpp :: class how to call main method inheritance in c++ 
Cpp :: linq select where string equals "String" 
Cpp :: is variable sized array are not allowed in c++? 
Cpp :: nothrow new in cpp 
Cpp :: integrate sinx 
Cpp :: how to use run total in C++ 
Cpp :: c++ schleife abbrechen 
Cpp :: atomic int c++ add 1 
Cpp :: c++ sort cout end 
Cpp :: c++ comments 
Cpp :: [3,2,4,-1,-4] 
Cpp :: C++ if...else 
Cpp :: sro in c++ 
Cpp :: composition namespaces c++ 
Cpp :: pycuda install failed microsoft c++ 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =