Computer Science, asked by nadhanasrin2286, 10 months ago

C program to find the occurrence of a digit in a number

Answers

Answered by kamlamehta79
0

Answer:

#include <stdio.h>

#include <stdlib.h>

int main()

{ long num;

int digit,rem,count=0;

printf("Enter the Number: ");

scanf("%ld",&num);

printf("Enter the digit to be counted:"); scanf("%d",&digit);

Similar questions