How are interrupts executed in c? Where are interrupts stored in the memory? What actually occurs when interrupts are encountered?
When ever interrupt will occurs (ex: press keypoard or etc...) while excuting C programming the control stop execution and pushed current data in stack and switch to interrupt handler and then ca...
What is the difference between short int and int?
The general idea is that short "always" represents a 16-bit integer, whereas int represents whatever the native word size is for that particular architecture (16- or 32-bit). "Always" is in scare quo...
Sorry to say that actually in most of C compiler short int is also of 16 bit and they are equivalent to each other.
#include<stdio.h> #include<conio.h> main() { int a,b,c,d; clrscr(); d=0; printf("enter a number"); scanf("%d",&a); c=a; while(a>0) b=a%10; d=d+(b*b*b...
for example...we should include the header file (Ex: #include<stdio.h>) before the main function. because if we are going to use following function in our program we should inclu...