Home > Back-end >  C language pointer
C language pointer

Time:12-24

First: please use pointer programming implementation: 10 integer from the keyboard input, and then after the former seven integers and the location of the three integers exchange, asked to write a function to achieve the above functions, the main function of the input 10 integers, call the function, the final output after the adjustment of 10 integers,
The second: [program] please use pointer programming implementation: write a function change (char * s, int * p), numeric characters in the string s is converted into digital storage into integer array p, function returns the number of the converted digital,
Tip: first detects whether characters as Numbers, Numbers of ASCII value is 30 ~ 39 h h, one by one in judge "s characters, if it is a numeric characters, then convert them to digital storage into integer array,
Third: [program] please use pointer programming implementation: a line of input string, the output of uppercase letters, lowercase letters, Spaces, the number of figures and other characters,
Three questions would like to write for two days not to come out, want to have big ears can help thank you
  • Related