This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

when stack overfolw in microcontroller

IN C-language:-
#include<stdio.h>
int main()
{ while(1)
{ printf("hai\n");
} }
output: hai hai hai . . .
like this upto stack overflow

IN EMBEDDED c:-
#include<reg51.h>
sbit led=P1^0;
int main()
{ led=0;
while(1)
{ led=~led;
} }

at what time stack overflow takes place in microcontroller
can any one help me

Parents
  • The same time it overfolws in any other stack-based system!

    The "Stack" is a standard concept used throughout computer science - you should be able to look this up in your textbooks, and find plenty of information on the interwebs...

Reply
  • The same time it overfolws in any other stack-based system!

    The "Stack" is a standard concept used throughout computer science - you should be able to look this up in your textbooks, and find plenty of information on the interwebs...

Children
No data