Posts

Showing posts from February, 2022

Sexual Harassment of Women at Workplace ( Prevention, Prohibition and Redressal ) Act 2013

 The Sexual Harassment of women at workplace ( Prevention, Prohibition, and Redressal) Act 2013 (POSH Act) is a statute in India that seeks to protect women from sexual harassment at their work place (place of work). The act was passed by the Indian Parliament and come into force from 9 December 2013. Many of the features of the POSH Act are derived from the Vishaka Guidelines , issued by the supreme court of India in 1997, which vested employees, affirmed the need for preventive action and set out an internal  redressal mechanism to deal with the complaints of sexual harassment at workplace. The POSH Act ensures that Women are protected against sexual harassment in all workplaces whether public or private, and in organized or unorganized sectors. This will contribute to the realization of their right to gender equality, life and liberty and equality in working conditions everywhere. The sense of security at the workplace will improve women's participation at work, resulting...

Data Structure in c

  What is a program? A Program is a set of instructions which performs operation on data. Note: without data instruction can't be performed. When program is dealing with the data, how it will organize the data in the main memory, that is what data structures. What is Data Structure? Data Structure is the way program organize the data in the main memory during the execution time of the program. Example of Data Structures are: Array Matrices Linked list Stacks Queues Trees Graph Hashing

Fibonacci Series in C

Image
  What is a Fibonacci series? In mathematics, the Fibonacci series, commonly denoted by F n , form the sequence, the Fibonacci sequence in which each number is the sum of two preceding ones. The sequence commonly starts from 0 and 1.      F 0 =   0   ,  F 1 =1     F n = F n-1+ F n-2 where n>1 F2= F1+F0     =0+1=1 F3=F2+F1=1+1=2 F4=2+1=3 F5=3+2=5 F6=5+3=8 ----------------------------------------------------------------------------------------------------------------------------------------------------- Write a c program to generate Fibonacci series? #include<stdio.h> #include<conio.h> int main() { int n,i,f0=0,f1=1,temp=1;     printf("Enter the Size of Fibonacci Series");     scanf("%d",&n);     printf("0 \t");     for(i=1;i<n;i++) {         printf("%d \t",temp);         temp=f1+f0;        f0=f1;   ...

Arrays in C

Image
. Define an array? Arrays are defined as collection of similar data elements stored at contiguous location. Note: 1. Contiguous : next in sequence            2. Homogeneous: Similar                                         same kind of people or thing ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Main memory is divided into three sections Heap Stack Code Section ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Variables are created inside the stack. Variables will be directly ...