Basic C Program for Pointers

basic program of pointer

Basic C Program for Pointers #include <stdio.h> int main() { printf(“\n\n\t\tEduguru – C program example\n\n\n”); int var = 24; // actual variable declaration int *p; p = &var; // storing address of int variable var in pointer p printf(“\n\nAddress of var variable is: %x \n\n”, &var); // address stored in pointer variable printf(“\n\nAddress stored in … Read more

C Program to find Deteminant of 2×2 Matrix

matrix program in c

C Program to find Deteminant of 2×2 Matrix #include<stdio.h> int main() { printf(“\n\n\t\tEduguru – C Program example\n\n\n”); int a[2][2], i, j; long determinant; printf(“\n\nEnter the 4 elements of the array\n”); for(i = 0; i < 2; i++) for(j = 0; j < 2; j++) scanf(“%d”, &a[i][j]); printf(“\n\nThe entered matrix is: \n\n”); for(i = 0; i … Read more

C Program to perform addition and subtraction of Matrices

C Program to perform addition and subtraction of Matrices

C Program to perform addition and subtraction of Matrices #include<stdio.h> int main() { printf(“\n\n\t\Eduguru- C Program example\n\n\n”); int n, m, c, d, first[10][10], second[10][10], sum[10][10], diff[10][10]; printf(“\nEnter the number of rows and columns of the first matrix \n\n”); scanf(“%d%d”, &m, &n); printf(“\nEnter the %d elements of the first matrix \n\n”, m*n); for(c = 0; c … Read more

The People Who Write Viruses

Sometimes I think that it helps to understand a little bit more about the people who perpetrate crimes, in order to be able to avoid being a victim of those crimes. Others of you may just have a morbid curiosity about those who like to hurt other people. Either way, you’ll learn a little more … Read more

How Early Viruses Spread from Computer to Computer

In the mid-to-late 1980s, data was most often transferred from computer to computer by using floppy disks and so-called bulletin board systems (BBSs), managed online locations that were the forerunners of today’s Web sites. Stowing away on floppy disks Even without using the Internet, people in offices where PCs were used traded and circulated programs, … Read more

Using Public Computers

Public libraries, Internet cafes, and other customer-serving establishments have their own computers that customers may use to access the Internet. Are these computers safe for you to use? Tales abound of public-access computers infected with viruses, spyware, and even key loggers, many deliberately planted there in order to elicit information from unsuspecting users. I recall … Read more

Blocking Spyware

Spyware is a wide-reaching term that describes software used to monitor your Internet usage patterns, as well as software that can attempt to change your Internet browser configuration, or even record keystrokes (Virginia, the hackers want your bank account and other online passwords). Most spyware is not malicious in the same way that viruses are, … Read more

Avoiding Spam

Spam is the common name used to describe junk e-mail, or unsolicited commercial e-mail (UCE). Spam is, at the same time, big business for those who create and distribute it and a growing nuisance for its recipients. By being careful how and where you share your e-mail address, you can help to keep your e-mail … Read more

Adding Parental Internet Blockers

These blockers prevent persons from visiting (deliberately or otherwise) Web sites containing particular content, such as violence, hatred, casino gaming, and Barry Manilow. (Kidding there. I think.) The main purpose of these products is to protect children from accidentally or deliberately viewing content intended only for adults. They also prevent you from accidentally bumping into … Read more