answersLogoWhite

0

Examples: recv, read, fread, gets, fgets, scanf, fscanf

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is an example of array?

argv, which is the second parameter of function mainint main (int argc, char *argv[])


Which function reads character into an array specified bt its parameter in c plus plus?

void foo (char& c) { cin >> c; } int main() { char ch[10] {}; for (size_t c=0; c!=10; ++c) foo (c[0]); }


How can np.permute be used to rearrange elements in a numpy array?

The np.permute function in numpy can be used to rearrange elements in a numpy array by specifying the desired order of the dimensions. This function allows for reshaping and reordering of the elements within the array based on the specified permutation of dimensions.


Which take a string as input and find its length?

strlen is the C library function that accepts a pointer to a char array and returns an integer specifying the number of characters (in bytes) of the array. This function is usually not used any more, because it does not support multi-byte characters, such as UTF-8.


Can Excel count the characters on a spreadsheet?

You can use the LEN function to count characters in a cell. You can also use it to count characters in multiple cells. You need to know how to do array formulas to do that.


What degrees is Array Azimuth specified as?

degrees


How strings and characters are represented in an array?

An array of characters is an array of character codes (such as ASCII codes). A string is typically a null-terminated array of characters however some languages use the first array element to specify the string's length.


How is an array specified?

int a[100]; char b[50];


What is the array function in CAD?

there r 2 types of array in cad - rectangular array and polar array...........


Why the array is starting from zero?

By design; it makes the compiler's work easier. 1-based array's addressing-function: Address (array, index) = Address (array) + (index-1)*Elemsize(array) 0-based array's addressing-function: Address (array, index) = Address (array) + index*Elemsize (array)


What is an Access function for an array?

.


How is an array name interpretedwhen it is passed to a function?

An array is still an array, regardless of how you pass it into functions. It is still an array-type variable at the beginning of a function. However, the function itself may manipulate the array by "imploding" it into a string with a delimiter, using array values with only specific keys, and such.