C program to find the size of int without using sizeof operator. Get link Facebook X Pinterest Email Other Apps May 23, 2014 source code: #include<stdio.h> int main() { int *ptr = 0; ptr++; printf("Size of int data type: %d",ptr); getch(); return 0; } Get link Facebook X Pinterest Email Other Apps Comments
8086 STRING MANIPULATION –FIND AND REPLACE A WORD May 03, 2016 ASSUME CS: CODE, DS: DATA DATA SEGMENT LIST DW 53H, 15H, 19H, 02H REPLACE EQU 30H COUNT EQU 05H DATA ENDS CODE SEGMENT START: MOV AX, DATA MOV DS, AX MOV AX, 15H MOV SI, OFFSET LIST MOV CX, COUNT MOV AX, 00 ... Read more
2 X 2 MATRIX MULTIPLICATION May 03, 2016 ADDRESS OPCODE LABEL MNEMONICS OPERAND COMMENT 8100 MVI C, 00 Clear C reg. 8101 8102 LXI H, 8500 Initialize HL reg. to 4500 8103 8104 8105 LOOP2 LXI D, 8600 Load DE register pair 8106 8107 8108 CALL MUL Call subroutine MUL 8109 810A 810B MOV B,A Move A to B reg. 810C INX H Increment HL register pair . 810D ... Read more
C Program to find the size of structure without using sizeof operator. May 23, 2014 source code: #include<stdio.h> struct student { int roll; char name[100]; float marks; }; int main() { struct student *ptr = 0; ptr++; printf("Size of the structure student: %d",ptr); getch(); return 0; } Read more
Comments
Post a Comment