EmbLogic's Blog

Author Archives: Jacob George

Program to Multiply Two 3 X 3 Matrices

#include int main() { int a[10][10], b[10][10], c[10][10], i, j, k; int sum = 0; printf(“\nEnter First Matrix : n”); for (i = 0; i <3; i++) { for (j = 0; j < 3; j++) { scanf("%d", &a[i][j]); } … Continue reading

Posted in Uncategorized | Leave a comment

Swap / Interchange two variables without using Third Variable

#include int main() { int num1, num2; printf(“\nEnter First Number : “); scanf(“%d”, &num1); printf(“\nEnter Second Number : “); scanf(“%d”, &num2); num1 = num1 ^ num2; num2 = num1 ^ num2; num1 = num1 ^ num2; printf(“\n Numbers after Exchange … Continue reading

Posted in Uncategorized | Leave a comment

Programs to search elements in an array using rcs and make file

RCS file: display.c,v Working file: display.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: displays the list —————————- revision 1.1 date: 2017/03/04 11:59:48; author: emblogic; state: Exp; Initial revision … Continue reading

Posted in Uncategorized | Leave a comment

Program for rcs,makefile using shell

RCS file: main.c,v Working file: main.c head: 1.1 branch: locks: strict jgeorge: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: enter enter array —————————- revision 1.1 locked by: jgeorge; date: 2017/02/28 07:41:41; author: … Continue reading

Posted in Uncategorized | Leave a comment