CSPrograms4u

Nothing Succeeds Like Success

Monday, 23 October 2023

Patterns in C

›
  Pattern 1: /*      1      1 2      1 2 3      1 2 3 4      1 2 3 4 5  */ # include <stdio.h> int main() { int i,j; for(i=1;i<...

C PRO 36 : WAP to save Employee details in a file using File Handling

›
// Program #include<stdio.h> void main() {     FILE *fp;     int i;     float SAL;     char name[10];     fp = fopen("PRO36.txt...

C PRO 35 : WAP to read data from a file

›
  // Program # include <stdio.h> # include <process.h> int main() { FILE *fp,*fp1; char c = ' '; fp = fopen("...

C PRO 34 : WAP to create Student I-Card using a Structure

›
  // Program #include <stdio.h> struct SICARD  {     char NAME[30];     int RNO;     int CLASS;     char ADD[30]; } OBJ[3]; int main()...

C PRO 33 : WAP to show the memory occupied by Structure and Union

›
  // Program struct S { char name[30]; int rollno; float weight; }; union U { char n[30]; int rno; float w; }; int main() { st...
›
Home
View web version
Powered by Blogger.