D

@Dheerendra

eCE249

C
3 years ago
Solar pannel Amplifier Laser diode Photo voltic cell Potentiometer Hw 104 embedded with PAM8403 IC 2 speaker IC / MOSFET - L7805CV

26april)Lecture-02.c

C
3 years ago
//WAP to read and display elements of 1D array using Dynamic memory allocation(using calloc() function) #include<stdio.h> #include<stdlib.h> int main( ) { int *p,n,i; printf("Enter the number of blocks we want to reserve:") ; scanf("%d",&n) ; p=(in

26april)Lecture-01.c

C
3 years ago
//WAP to read and display elements of 1D array using Dynamic memory allocation (using malloc()) #include<stdio.h> #include<stdlib.h> int main( ) { int *p,n,i; printf ("Enter the number of integers to be entered ") ; scanf("%d" ,&n) ; p=(int*)malloc(

24april)Lecture-01.sql

SQL
3 years ago
create table employee3(Name varchar(256), salary int, Id int); insert into employee3(Name,salary)values('Dheerendra',25000,01); select * from employee3; declare sal employee salary % type; begin select salary into sal from employee3 where Id

24april)Lecture-Pointer-03.c

C
3 years ago
//Pointer Arithmetic #include<stdio.h> int main() { int arr[]={1,2,3,4,5,6,7,8,9}; int *p1,*p2; p1=arr; p1++;// p1 will point towards next memory location printf("%d",*p1);//2 will be displayed

24april)Lecture-Pointer-02.c

C
3 years ago
//Passing arguments to function using pointers #include<stdio.h> void swap(int *,int *); int main() { int a,b; printf("\n Enter the first number:"); scanf("%d",&a); printf("\n Enter the second number:"); scanf("%d",&b);

24april)Lecture-Pointer-01.c

C
3 years ago
/* Program to swap two numbers using pointers*/ #include <stdio.h> void swap(int *x,int *y); int main() { int num1,num2; printf("Enter value of num1: ");

10april)PL/SQL-01.sql

SQL
3 years ago
-- Declare -- message varchar(20); -- BEGIN -- message:='Hello, World'; -- dbms_output.put_line (message); -- END; -- / -- -- WAP to add two numbers

05April)Struct-12.c

C
3 years ago
//Packed #include <stdio.h> struct abc { int b; char c; }__attribute__((packed)) structure; int main() { int i=sizeof(structure);

05April)Struct-11.c

C
3 years ago
#include <stdio.h> #include <string.h> struct DOB{ int a; int b; int c; }; struct Faculty{ char name[20];

05April)Struct-10.c

C
3 years ago
//Comparison operation on structure variables #include<stdio.h> #include<string.h> struct student { char name[20]; int rollno; float marks; }s1,s2; int main()

05April)Struct-09.c

C
3 years ago
//Pointer to the array of structure #include<stdio.h> #include<string.h> struct student { char name[20]; int rollno; float marks; }s[3],*sp; int main()

05April)Struct-08.c

C
3 years ago
//Pointer to structure #include<stdio.h> #include<string.h> struct student { char name[20]; int rollno; float marks; }s1,*sp; int main()

05April)Struct-07.c

C
3 years ago
//We can only use assignment and comparison operations on structures //Assignment operation on structure variables #include<stdio.h> #include<string.h> struct student { char name[20]; int rollno; float marks; }s1,s2;

03april)Struct-04.c

C
3 years ago
//Create array as a variable of structure #include<stdio.h> struct student { char name[20]; int rollno; float marks; }s[3]; int main() {

03april)Struct-03.c

C
3 years ago
//Pass the information of 3 students using structure variable #include<stdio.h> struct student { char name[20]; int rollno; float marks; }s1; int main() {

03april)Struct-02.c

C
3 years ago
//Initialization of structure members #include<stdio.h> struct student { char name[20]; int rollno; float marks; }s1={"ABC",1,78.77}; int main() {

03april)Struct-01.c

C
3 years ago
// struct data types #include <stdio.h> struct student{ char name[20]; int rollno; float marks; } s1={"ABC",1,78.77},s2={"DEF",2,80},s3={"GHI",3,90},s4={"JKL",4,95}; int main() { printf("Name = %s\tRollNo = %d\tMarks = %f",s1.name,s

03april)Struct-01.c

C
3 years ago
// struct data types #include <stdio.h> struct student{ char name[20]; int rollno; float marks; } s1={"ABC",1,78.77}; int main() { printf("Name = %s\nRollNo = %d\nMarks = %f",s1.name,s1.rollno,s1.marks);

29march)class-04.c

C
3 years ago
//Delete an element from an array from a particular position #include <stdio.h> int main() { int array[100], position, c, n; printf("Enter number of elements in array\n"); scanf("%d", &n); printf("Enter %d elements\n", n); for (c = 0; c < n; c++) {