Page not found
Search results
C substring, substring in C
C substring program to find substring of a string and its all substrings . A ... = window.adsbygoogle || []).push({}); C substring program #include <stdio.h> int main ( ) ... we do not need to return the substring array. See another code below in which we return a pointer to substring, which we create in our ...
devyog - 02/10/2020 - 16:44
Sum of digits in C
... gives the remainder 2 (the sum of a digit of the number 2). C language has an operator '%' (don't confuse it with the percentage symbol of ... (add it to the variable sumOfDigits). The sum of digits C program to calculate the sum of digits of a number, we use the modulus ...
devyog - 25/05/2024 - 08:58
getcolor function
... drawing color is WHITE then a will be 15. See colors in C graphics . C programming code for getcolor #include<graphics.h> #include<conio.h> ...
Guest (not verified) - 09/06/2018 - 20:50
String length using strlen
C program to find string length using strlen function of "string.h" header ... length of a string. Declaration: int strlen(char*); C programming code for strlen #include <string.h> int main ( ) { ...
devyog - 07/01/2018 - 23:42
outtext function
... position. Declaration: void outtext(char *string); C programming code for outtext #include<graphics.h> #include<conio.h> ...
devyog - 08/01/2018 - 20:55
delline
... is present and moves all the lines below it one line up. C programming code for delline #include<stdio.h> #include<conio.h> int ...
devyog - 22/11/2019 - 20:19
log10
... a number. Declaration: double log10(double number); C programming code for log10 #include <stdio.h> #include <math.h> int ...
devyog - 08/01/2018 - 20:55
floor function
... will be 2.00. Declaration: double floor(double x); C programming code for floor #include <stdio.h> #include <math.h> int ...
Guest (not verified) - 08/01/2018 - 20:55
C program to count number of vowels in a string
C program to count number of vowels in a string: for example, in the string ... || []).push({}); Count vowels in a string in C #include <stdio.h> int main ( ) { int c = 0 , count = 0 ; char s [ 1000 ] ; ...
devyog - 26/05/2024 - 13:55
closegraph function in c
... called initgraph. Declaration: void closegraph(); C code of closegraph #include<graphics.h> #include<conio.h> ...
devyog - 08/01/2018 - 20:55