answersLogoWhite

0

What is int dos()?

Updated: 12/24/2022
User Avatar

Wiki User

9y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is int dos()?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does Niall horn have a girlfriend?

No he dos int if he did I whould die


What int 21a?

1. syntax error2. int 21h -- assembly statement in x86 to access a MS-DOS service


How do you run a dos command from a c program?

#include <stdlib.h> int main() { system("dir"); return 0; }


Difference between percent p and percent x in c language?

%p prints a pointer, %x prints an integer. They may be similar, but not the same. Eg.printf ("ptr=%p int=%d\n", main, (int)main);DOS: ptr=0F01:0010 int=10Windows: ptr=:0F010010 int=F010010


Write Procedure to implement highlight as a blinking operation?

Blinking text in DOS, compiled with Turbo C #include int main() { int color; textattr(128 + 10); cprintf("This is blinking text\n"); return 0; }


Instruction INT 20H is used to?

Interrupt 20 ( AKA INT 20, int 20h, INT 20H) is the 33rd entry in the standard PC interrupt table. The '20' is hexadecimal notation (hence the use of the H or h, which may actually be required by some assemblers whereas others assume entries are hexadecimal) for decimal thirty-two (32) but counting starts from zero, as is usually the case in Computer Science.Int 20 is known as "DOS Terminate" and will end execution of the code at that point and return control to DOS (or the DOS-like environment which called it). It looks at the CS register (a standard 80x86 register which was intended to 'point' to the segment where the code was loaded - Code Segment) and returns nothing by way of register or stack.Simple Answer: this is an instruction used in very small and typically very old DOS programs to terminate themselves quickly and with a minimum of effort, it probably ought not to be used today, research Int 21 instead (the so-called 'DOS Interrupt').N.B.: This instruction could also refer to other architectures and thus be very different, e.g. AIX, VMS, etc. My answer is PC & DOS specific as this is the most likely context for this question.


30 examples of variables?

int n1; int n2; int n3; int n4; int n5; int n6; int n7; int n8; int n9; int n10; int n11; int n12; int n13; int n14; int n15; int n16; int n17; int n18; int n19; int n20; int n21; int n22; int n23; int n24; int n25; int n26; int n27; int n28; int n29; int n30;


How do declare function pointer having two integer parameters and returning integer pointers?

// declare a function int* function(int, int); or int* (function)(int, int); // declare a pointer to a function int* (*pointer_to_function)(int, int);


Get size of int using sizeoff?

printf ("sizeof (int) = %d\n", (int)sizeof (int));


C program to find LCMof three integers?

int LCM3 (int a, int b, int c) { return LCM2 (a, LCM2 (b, c)); } int LCM2 (int a, int b) { return a*b/GCD2(a, b); }


C plus plus prog a function sum that returns the sum of all Values in the given array int sum int list int arraySize?

int sum(int list[], int arraySize) { int sum=0; for(int i=0; i<arraySize; ++i ) sum+=list[i]; return(sum); }


What is the difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.