Language Perks
756 FOLLOWERS
Learn C , learn java , the concepts of data structures and various concepts related to HTML, CSS, Javascript, Bootstrap, Angular and much more related to web technology
Language Perks
2y ago
In short terms those are the 3 things i think anyone would need to get going with coding
Interest
Curiosity
Passion
In my view i think most important thing is INTEREST if you develop interest in programming by just trying to solve any problem you observed in society. you take initiative in it and try to solve the problem from your end and from your day to day life perspective you see the Technology thing is going wild maybe you can use it to make life easier for you and for other too ..read more
Language Perks
2y ago
What is a compiler?
A compiler is a computer program that reads a program written in one language (the so-called source language) and translates it into another language, the so-called target language. In most cases, the source language is of high standards. And the target language is a low-level language, so the compiler is usually regarded as a translator that translates one language into another. In addition, the compiler will do some code optimizations.grammar structure. Next is code optimization and final code generation.
What is an assembler?
An assembler is a sof ..read more
Language Perks
2y ago
We will compare with arrays. Arrays can be used to store linear data of similar types, but arrays have the following limitations as.
1) The size of the arrays is fixed: So we must know the upper limit on the number of elements in advance. Also, generally, the allocated memory is equal to the upper limit irrespective of the usage.
2) Inserting a new element in an array of elements is expensive because the room has to be created for the new elements and to create room existing elements have to be shifted.
For example, in a system, if we maintain a sorted list of IDs in ..read more
Language Perks
3y ago
Program:
/*Program to store employee info, By dsexample.blogspot.com*/
#include <stdio.h>
#include <conio.h>
union employee{
char name[50];
int eid;
float salary;
};
int main(){
union employee e[10];
int i,n;
printf("Enter number of employees ");
scanf("%d",&n);
printf("\n");
for(i=0;i<n;++i)
{
printf("Enter information of employee %d:\n",i+1);
printf("Enter eid ..read more
Language Perks
3y ago
c program to find sum of digits of a number
CODE :
#include<stdio.h>
int main()
{
int n,sum=0,m;
printf("Enter a number:");
scanf("%d",&n);
while(n>0)
{
m=n%10;
sum=sum+m;
n=n/10;
}
printf("Sum is=%d",sum);
return 0 ..read more
Language Perks
3y ago
Here c program to find leap year
CODE:
#include <stdio.h>int main() {int year;printf("Enter a year: ");scanf("%d", &year);// leap year if perfectly visible by 400if (year % 400 == 0) {printf("%d is a leap year.", year); }// not a leap year if visible by 100// but not divisible by 400else if (year % 100 == 0) {printf("%d is not a leap year.", year); }// leap year if not divisible by 100// but divisible by 4else if (year % 4 == 0) {printf("%d is a leap year.", year); }// all other years are not leap yearelse {printf("%d is not a leap year.", year); }return 0 ..read more
Language Perks
3y ago
Map Function
It returns new array after some modifications iterate over each element.
Example: If you want to Multiply by 2 to every element in array, in simple approach it will look like this
const arr =[1,2,3,4,5]
const newArr =[]
for(let i=0; i<=arr.length-1; i++){
newArr.push(arr[i]*2);
}
console.log(newArr)
And you will get output // 2,4,6,8,10
Same thing using map function you will do it like
const arr = [1,2,3,4,5]
console.log(arr.map(e => e*2 ..read more
Language Perks
3y ago
Fibonacci series in C programming
Fibonacci series in c programming using loops and recursion. You can print as many terms of series as your required. The number of the sequence is known as Fibonacci numbers in c programming. The series start as 0,1,1,2,3,5,8….,. Except for the first two terms of the sequence every other terms is sum of previous two terms for example 5=3+2(addition of 3 and 2).
Fibonacci series Program example in C
#include <stdio.h>
int main() {
int n, first = 0, second = 1, next, a;
printf("Enter the number of terms\n");
scanf("%d ..read more
Language Perks
3y ago
So after going through lots of articles about learning new topics i finally gathered some of resources to learn web development for FREE. so here is the thing i am giving link to sources related to Web Development
FreeCodeCamp - Really great learning resources with free certification you have higher chances of getting hired after completing this. You will learn HTML CSS Javascript Sass Jquery Bootstrap React&Redux Npm NodeJs & Testing. Here is link
Javascript.info - So this one is actually covers Javascript in very Depth all the way from DOM to the Core conc ..read more