Write a C program to convert a binary number to its corresponding octal number.
Latest Answer: #include#includemain(){ int i=12; void printoctal(int,int); printoctal(i,i); getch();}void printoctal(int val,int rem){ if(rem == 0) ...
How will you design address bus?
What is the purpose and use of function pointers?
Latest Answer: Function pointer holds the address of a function. Every function has a address. We can call the function by calling the function pointer. ...
Why should we use header file?
Latest Answer: #include
#include
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);
a=a%10;
if(c==d)
printf("amstrong");
else
printf("not ...
What is NULL Macro? What is the difference between a NULL Pointer and a NULL macro?
How to determine byte offset of a field within structure in C?
How to return an array as the output parameter of a function?
How to write device driver in C?
write a program in c to show matrix multiplicaton
How are interrupts executed in C? Where are interrupts stored in the memory? What actually occurs when interrupts are encountered?
Latest Answer: 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 call ISR after excuting return to interrupt handler by ...
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top