上一页 1 ··· 95 96 97 98 99
摘要: Count the number of digits in a long integer entered by a user. int countDigit(long long n) { int count = 0; while (n != 0) { n = n / 10; ++count; } r 阅读全文
posted @ 2020-05-01 20:18 Jasper2003 阅读(109) 评论(0) 推荐(0) 编辑
摘要: It is possible to pass some values from the command line to your C programs when they are executed. These values are called command line arguments and 阅读全文
posted @ 2020-05-01 09:37 Jasper2003 阅读(248) 评论(0) 推荐(0) 编辑
摘要: To illustrate the radix sort algorithm we will sort the sequence S0 = {32, 100, 11, 554, 626, 122, 87, 963, 265, 108, 9}. We start by distributing ele 阅读全文
posted @ 2020-05-01 00:02 Jasper2003 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Memory leak occurs when programmers create a memory in heap and forget to delete it.Memory leaks are particularly serious issues for programs like dae 阅读全文
posted @ 2020-04-30 19:08 Jasper2003 阅读(142) 评论(0) 推荐(0) 编辑
摘要: memcpy() is used to copy a block of memory from a location to another. It is declared in string.h Below is a sample C program to show working of memcp 阅读全文
posted @ 2020-04-30 17:58 Jasper2003 阅读(124) 评论(0) 推荐(0) 编辑
摘要: size_t is a defined type (through typedef) which is basically an unsigned long int. Since the idea of a negative value for a size isn't practical some 阅读全文
posted @ 2020-04-30 08:51 Jasper2003 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 5 void malloc_in_function(char **myArray, int size) 6 { 7 int i = 0; 8 9 *myArray = (char *) malloc(siz 阅读全文
posted @ 2020-04-29 23:07 Jasper2003 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.axiomatic self-evident or unquestionable. "it is axiomatic that dividends have to be financed" 2. fusion the process or result of joining two or mor 阅读全文
posted @ 2020-04-29 22:39 Jasper2003 阅读(221) 评论(0) 推荐(0) 编辑
上一页 1 ··· 95 96 97 98 99