Search
 
SCRIPT & CODE EXAMPLE
 

C

write the data in perticulare memmory loaction in C

#include <stdio.h>
int main()
{
    int val;
    char *a;

    a = (char*)malloc(sizeof(char) * 1);

    *a = 20;
    val = (int)*a;
    printf("%d", val);

    free(a);

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: allocate a array on strings in c 
C :: sue murry 
C :: what to do after autoencoder training 
C :: lognormal distribution - matlab 
C :: wpdb add temporary while drop table 
C :: Print fabionci with fork in C 
C :: c multithreading sum from 0 to 1000 
C :: why return 0 is written at the code end? 
C :: float and double Output 
C :: debian9 remove pack 
C :: inline function in c example 
C :: c addition 
C :: C temporary files 
C :: nosql injection 
C :: merge sort in c 
C :: website how to solve c programming questions 
C :: array length in c++ 
Dart :: underline text in flutter 
Dart :: rel canonical tag 
Dart :: flutter appbar width 
Dart :: flutter snackbar circular shape rounded circle 
Dart :: constrainedbox flutter 
Dart :: textfield height flutter 
Dart :: flutter linear progress indicator height 
Dart :: dart loop through map 
Dart :: text in column flutter overflow ellipsis not working 
Dart :: flutter flotingactionbutton extend 
Dart :: floting action button small size 
Dart :: splite number in dart 
Dart :: flutter getit reset 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =