top of page
Coding Solutions is a great section for every coder. You can get answers to your programming questions here by the Team ATC. You can even ask for the answer to competitive programming language questions as well. First, search your question here, and if not found. Then, ask your question to Ask The Code members, and you will get your answer in no time from the members of this Indian Developer Community. Happy Coding.
Search
Count Vowels in a String in C | AskTheCode
C program that gives total number of vowels present in a string...str[100]; int c = 0, count = 0; printf("Enter the string: ")...AskTheCode
Team ATC
Dec 8, 20201 min read
40 views
0 comments
Write a C++ Program to count frequency of elements in an array| AskTheCode
Write a program in C++ using an if statement to count how many consecutive times each distinct value appears in the input
Team ATC
Nov 7, 20201 min read
33 views
0 comments
Write a C++ Program to count distinct value in an array| AskTheCode
Asked by: Umar Khan | Category: C++ ( c plus plus ) | Program to count distinct elements in an array in C++ #include <iostream> using...
Team ATC
Nov 7, 20201 min read
26 views
0 comments
Write a C++ Program to Check Whether a Number is Prime or Not | AskTheCode
c plus plus program to check whether a number is Prime or not | AskTheCode
Team ATC
Nov 4, 20201 min read
37 views
0 comments
SPARSE ARRAY in C++
Sparse array in CPP | Data Structure | C Plus Plus There is a collection of input strings and a collection of query strings...array...result
Team ATC
Oct 19, 20202 min read
52 views
0 comments
Take marks as input in Linked List & Display the highest & smallest marks
Linked List | Data Structure Post #include<stdio.h> #include<stdlib.h> struct stud { int marks; struct stud *next; }; typedef struct stud...
Team ATC
Sep 23, 20201 min read
23 views
0 comments
Delete an element at a Specified Position in a given Array
Random Post #include<stdio.h> int insert(int [], int, int); int main() { int i,n,num,pos; printf("Enter the number of elements: ");...
Team ATC
Sep 18, 20201 min read
16 views
0 comments
Insert an element at a Specified Position in a given Array
Random Post #include<stdio.h> int insert(int [], int, int, int); int main() { int i,n,num,pos; int arr[30]; printf("Enter the number of...
Team ATC
Sep 18, 20201 min read
12 views
0 comments
Max Min function in C
Random Post #include <stdio.h> int Max(float arr[],int n) { float maximum=-999999.99; for (int i = 0; i < n; i++) { if (arr[i]>maximum) {...
Team ATC
Sep 18, 20201 min read
10 views
0 comments
Bubble Sorting in C
Random Post #include<stdio.h> void swap(int *m,int *n){ int temp=*m; *m=*n; *n=temp; } void bubbleSort(int arr[],int n){ int i,j; for(i =...
Team ATC
Sep 18, 20201 min read
8 views
0 comments
Selection Sorting in C
Random Post #include<stdio.h> void swap(int *m,int *n){ int temp=*m; *m=*n; *n=temp; } void seletionSort(int arr[],int n){ int i, j, min;...
Team ATC
Sep 18, 20201 min read
5 views
0 comments
Insertion Sorting in C
Random Post #include<stdio.h> void swap(int *m,int *n){ int temp=*m; *m=*n; *n=temp; } void insertionSort(int arr[],int n){ int...
Team ATC
Sep 18, 20201 min read
13 views
0 comments
Hacker Rank solution for Structs In C++
Asked: Anonymously | Category: C++ #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using...
Team ATC
Sep 17, 20201 min read
11 views
0 comments
Hacker Rank solution for Preprocessor Solution In C++
Asked: Anonymously | Category: C++ #define toStr(x) #x #define io(v) cin >> v #define INF 100000000 #define foreach(v, i) for(int i = 0;...
Team ATC
Sep 17, 20201 min read
6 views
0 comments
Hacker Rank solution for Accessing Inherited Functions In C++
Asked: Anonymously | Category: C++ #include<iostream> using namespace std; int callA=0; int callB=0; int callC=0; class A { protected:...
Team ATC
Sep 17, 20201 min read
5 views
0 comments
Playing With Characters | HackerRank
Asked: Anonymously | Category: C #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int main() { char ch; char...
Team ATC
Sep 16, 20201 min read
29 views
0 comments
Sum of Digits of a Five Digit Number | HackerRank
Asked: Anonymously | Category: C #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int main() { int n;...
Team ATC
Sep 16, 20201 min read
10 views
0 comments
1D Arrays in C | HackerRank
Asked: Anonymously | Category: C #include <stdio.h> #include <stdlib.h> int main() { int n, *arr, i, sum = 0; scanf("%d", &n); arr =...
Team ATC
Sep 16, 20201 min read
9 views
0 comments
bottom of page