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
Team ATC
Dec 8, 20201 min read
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
40 views0 comments
Team ATC
Nov 7, 20201 min read
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
33 views0 comments
Team ATC
Nov 7, 20201 min read
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...
26 views0 comments
Team ATC
Nov 4, 20201 min read
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
37 views0 comments
Team ATC
Oct 19, 20202 min read
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
52 views0 comments
Team ATC
Sep 23, 20201 min read
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...
23 views0 comments
Team ATC
Sep 18, 20201 min read
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: ");...
16 views0 comments
Team ATC
Sep 18, 20201 min read
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...
12 views0 comments
Team ATC
Sep 18, 20201 min read
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) {...
10 views0 comments
Team ATC
Sep 18, 20201 min read
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 =...
8 views0 comments
Team ATC
Sep 18, 20201 min read
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;...
5 views0 comments
Team ATC
Sep 18, 20201 min read
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...
13 views0 comments
Team ATC
Sep 17, 20201 min read
Hacker Rank solution for Structs In C++
Asked: Anonymously | Category: C++ #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using...
11 views0 comments
Team ATC
Sep 17, 20201 min read
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;...
6 views0 comments
Team ATC
Sep 17, 20201 min read
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:...
5 views0 comments
Team ATC
Sep 16, 20201 min read
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...
29 views0 comments
Team ATC
Sep 16, 20201 min read
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;...
10 views0 comments
Team ATC
Sep 16, 20201 min read
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 =...
9 views0 comments
bottom of page